Re: [PHP] I don't get it ... suddenly my script doesn't work ...

2001-04-22 Thread Tim Thorburn
Hi all, Just to let you know, I found out my problem with my PHP script ... I had installed the self installer version of PHP on my system this time around, rather than installing the full version - now the script works great. Thanks again -Tim -- PHP General Mailing List (http://www.php.

Re: [PHP] I don't get it ... suddenly my script doesn't work ...

2001-04-21 Thread Plutarck
Check your error report settings. When you refer to something like $id as: if ($id)... PHP will throw a warning that $id isn't set. It's a nice debugging feature, but a pain in the arse otherwise. The problem is PHP now has a higher error level for some reason, so just nock it down to normal.

Re: [PHP] I don't get it ... suddenly my script doesn't work ...

2001-04-21 Thread Johannes Janson
Hi, a general thought at first. When posting a rahter long sxrpit it would be helpful to mark the lines which produce the errors. But now straight to the point. change the inside of your if/elseif parethesis from just the variable to (isset($variable)) respectively to (! isset($variable)). hope

[PHP] I don't get it ... suddenly my script doesn't work ...

2001-04-20 Thread Tim Thorburn
Hi, I have a PHP script that I wrote several months ago which allows a user to enter information into a MySQL database through a basic web form - it worked very well. However, since then I had a system crash - luckily I made a backup of the script days before the crash. My problem is, that n