Hi,
I'm trying to do this:
(adding into the table ct_int in the field name and url rows, the values test3 and test)
The error I get is:
Kind Regards
I'm trying to do this:
Code:
$sqlAdd[$i] = "INSERT INTO ct_".$country." (name, url) VALUES (test3, test)";
if (!mysql_query(mysql_real_escape_string($sqlAdd[$i]), $con)) {
die('Error: ' . mysql_error());
}
(adding into the table ct_int in the field name and url rows, the values test3 and test)
The error I get is:
How come its looking for column "test" it should be looking for the column "name"? What's up with that ey?Error: Unknown column 'test3' in 'field list'
Kind Regards