undefined variable in script
Posted: Sat Oct 26, 2002 4:46 pm
I have what seems a simple enough script where I use the line
If ($userid && $password)
at the beginning to set up a mysql login script. The form is built within php echo statements and displays fine, but the page gives warnings that the variables are undefined. I have used the same script on linux and it works fine, but this is my first attempt to create a db login script on Win XP. Suspect it is a set up issue. If possible I can post the entire ecript etc...
Having just finished setting up PHP and Apache on the XP box, I think maybe some setting is incorrect in php.ini???
any ideas appreciated.
If ($userid && $password)
at the beginning to set up a mysql login script. The form is built within php echo statements and displays fine, but the page gives warnings that the variables are undefined. I have used the same script on linux and it works fine, but this is my first attempt to create a db login script on Win XP. Suspect it is a set up issue. If possible I can post the entire ecript etc...
Having just finished setting up PHP and Apache on the XP box, I think maybe some setting is incorrect in php.ini???
any ideas appreciated.