Undefined Constant

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
thoughtriot
Forum Commoner
Posts: 26
Joined: Thu Nov 07, 2002 9:32 pm

Undefined Constant

Post by thoughtriot »

http://dustin.tiaracomputers.com/?page=news

Check that out. I get this error:

Notice: Use of undefined constant page - assumed 'page' in U:\Host\Dustin\index.php on line 37

It also won't work when I try to use a form to add info to a mysql database. Is it a php problem or what?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

are you trying to access something like $myArray[page] ?
If: read http://www.php.net/manual/en/language.t ... rray.donts
Post Reply