ok, say i want to start a new entry into a table, and want to insert the default value as a comma, hwo would i do that?
insert into mytable ( name,age,nosehair) values (",",",",",")
^^^doesnt work...^^^
insert a comma?
Moderator: General Moderators
because you need to use single quotes i'd imagine ( and also make sure the field type is varchar )...
Code: Select all
$sql = "insert into mytable ( name,age,nosehair) values (',',',',',')";