Posted by J.O. Aho on 12/14/06 20:48
cerberus wrote:
> Thank you all. I contacted the man who wrote the guide and he pointed
> out a typo and an error in the original code.
>
> You were all right in one form or another. The id was not being checked
> after the first query and thus not passed to the submit.
>
> Adding that additional check, and a comma, and it works fine.
>
> My understanding of PHP and MySQL is still in its infancy, so I'll
> probably be around here quite a bit. As with all learning, just have to
> press on.
When I begun to look into PHP I had quite a lot help of the online manual with
loads of user comments with good examples.
http://www.php.net/manual-lookup.php?lang=en&function=&x=3&y=8
Then it's good to know a little bit about the globals too.
http://www.php.net/manual/en/reserved.variables.php
--
//Aho
[Back to original message]
|