Code: Select all
mysql_query("insert into test('1','12345')");
it inserting the two times data into the test table.
Moderator: General Moderators
Code: Select all
mysql_query("insert into test('1','12345')");
Code: Select all
mysql_query("insert into test values('1','12345')");
Code: Select all
mysql_query("insert into test values ('1','12345')") or die("Error: " . mysql_error());
Code: Select all
$qry = "INSERT INTO table (field1, field2) VALUES (value1, value2)";