On Thursday, April 11, 2002, at 09:17  PM, Jennifer Downey wrote:

> Now I have a weird problem. I am using this code and can't understand 
> why it
> doesn't work.
> When the script is run it returns a blank page, no error or done.
> here it is and any help would be appreciated.
> if(($type == book) or ($type == weapon)){
               ^^^^^^             ^^^^^^^^

I could be completely wrong here, but shouldn't these values be quoted?  
Even if it's not what's screwing up your code, it's probably a good idea 
unless they are supposed to represent your own defined constants.



Erik Price
Web Developer Temp
Media Lab, H.H. Brown

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to