![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveMy function returns true but my code does not execute
From: John Moore <nobody@nomail.com>
Date: Mon Oct 31 2005 - 03:08:16 CET
Hi,
I must be missing something obvious.
I cannot get this function to run the update query on Line 6, although
A var_dump shows that all the variables are valid, and I can run the
But the update itself never runs! Can anyone see why?
function new_category($category_id=null) {
if (create_category($_SESSION['cat_name'])) {
if ($result = mysql_query($query)) {
Thanks
J Moore
|