![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archiveRe: My function returns true but my code does not execute
From: Ewoud Dronkert <firstname@lastname.net.invalid>
Date: Mon Oct 31 2005 - 09:54:48 CET
John Moore wrote:
You can't use multi-line strings like that in PHP. I presume in your code
> $query = "UPDATE about SET category_id = $category_id_new WHERE about_id = $_SESSION[about_id]";
Then you can't use array values like that in strings. Zeldor was partly
$query = "... about_id = {$_SESSION['about_id']}";
For goodness sake, see
-- E. DronkertReceived on Mon Nov 21 02:53:24 2005 |