Hi all
I insert something in the database and there is nothing. How I do it? I give you an exemple:
$link = mysql_connect ("ip_addr:3306", "database", "password");
mysql_select_db('database');
$sql="insert into test values ('1','just a test');
$result = mysql_query ($sql);
in this moment I have to call a function and I don't know wich, because the values are not insered ni the database.
I use :
$row = mysql_fetch_row ($result);
mysql_close($this->link);
OK the values are in the database in this way but I got a warnning message and this is not beautiful.
Sory for my english.
I insert something in the database and there is nothing. How I do it? I give you an exemple:
$link = mysql_connect ("ip_addr:3306", "database", "password");
mysql_select_db('database');
$sql="insert into test values ('1','just a test');
$result = mysql_query ($sql);
in this moment I have to call a function and I don't know wich, because the values are not insered ni the database.
I use :
$row = mysql_fetch_row ($result);
mysql_close($this->link);
OK the values are in the database in this way but I got a warnning message and this is not beautiful.
Sory for my english.