Hello,
just a small problem. Can't insert a dataset when I use following
example with an auto value in table answer(failing which it works):
{
$sql=sprintf("I NSERT INTO answer VALUES(\"%s\",\ "%s\",\"%s\ ")",
addslashes($mov e), addslashes($val ue), addslashes($wis h));
$result = mysql_query($sq l,$db_link);
if(!$result)
{
echo mysql_error($db _link);
}
}
what's wrong?
what about trigger or view in MySQL in next future?
Thank you
just a small problem. Can't insert a dataset when I use following
example with an auto value in table answer(failing which it works):
{
$sql=sprintf("I NSERT INTO answer VALUES(\"%s\",\ "%s\",\"%s\ ")",
addslashes($mov e), addslashes($val ue), addslashes($wis h));
$result = mysql_query($sq l,$db_link);
if(!$result)
{
echo mysql_error($db _link);
}
}
what's wrong?
what about trigger or view in MySQL in next future?
Thank you
Comment