|
Posted by Oli Filth on 11/02/05 21:09
John Moore said the following on 02/11/2005 18:39:
> Hi
>
> I posted three days ago about a function I wrote which kept refusing
> to run a mysql_query.
>
> Well I did away with the function, and hard coded the variables into
> the query itself. Here's what I have now:
>
> mysql_query("UPDATE about SET category_id = 58 WHERE about_id = 5") or
> die('error: ' . mysql_error());
>
> Just running mysql_query, with no logic, I still dont get an update,
> and the script doesn't die. What other things should I be looking at?
Without seeing the function, it's difficult to say!
Have you tried getting the function to echo the query string that it
creates, and comparing that to what you expect?
--
Oli
Navigation:
[Reply to this message]
|