Posted by ZeldorBlat on 10/31/05 07:22
>$query = "UPDATE
> about
> SET
> category_id = $category_id_new
> WHERE
> about_id = $_SESSION[about_id]";
I think you want "about_id = $_SESSION['about_id']"; (notice the quotes
around 'about_id'). To be safe, you can also write it like this:
$query = "UPDATE about SET catergory_id = $catergory_id_new
WHERE about_id = " . $_SESSION['about_id'];
Navigation:
[Reply to this message]
|