Forum Moderators: coopster
$query ="INSERT INTO table_name (Field_name) VALUES ($name)"; $result = mysql_query($query);
and it doesnt seem to be inserting.
am i doing it wrong?
thanks in advance,
andy
String values should be quoted.
$query ="INSERT INTO table_name (Field_name) VALUES ('$name')";
$result = mysql_query($query) or die(mysql_error());
dc