undefined variable in script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
currywm
Forum Newbie
Posts: 2
Joined: Sat Oct 26, 2002 4:46 pm

undefined variable in script

Post by currywm »

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.
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

Post Reply