Sounds like you left off a $ when using a variable.  I would take a look at
line 158, find the variable name and make sure it's $name. Disabling the
error will cause the message to go away but not fix the problem.

* Cal Evans
* Stay plugged into your audience
* The measure of a programmer is not the number of lines of code he writes
but the number of lines he does not have to write.

----- Original Message -----
From: "Ahmed Abdelaliem" <[EMAIL PROTECTED]>
Sent: Monday, June 02, 2003 9:50 AM
Subject: [PHP-DB] Problem with php/mysql and ISS on windows XP profeesional

> hi
> i use php and mysql on IIS server on windows xp professional
> when i select anything from the database i get this :
> "Notice: Use of undefined constant name - assumed 'name' in
> d:\inetpub\wwwroot\EGYCDS\index.php on line 158
> Spy Hunter"
> while evrything is going fine when i upload it on the web and it returns
> only "Spy Hunter"
> i think  i have to disable this eroor message only
> can any one tell me how i disable that error message
> _________________________________________________________________
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> --
> PHP Database Mailing List (
> To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to