Monday, 3 September 2018
Subscribe to:
Post Comments (Atom)
$string = 'this is an example';
mysql_query("insert into tablename (columnname) values ????");
$string into table tablename? I tried replacing ???? with ($string), (".$string."), $string, but all of them does not insert the $string variable into the database.$string = 'this is an example';
mysql_query("insert into tablename (columnname) values (\"$string\")");
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment