Thank you very much for your quick reply. I tried
the if (isset($id)) but it doesn't work. Any
By the way, I'm using Php4.3.3 and MySQL4.0.15a.
The tutorial I'm reading is about Php3. Will this
be the problem?
Case Western Reserve University
----- Original Message -----
From: Jason Godesky <[EMAIL PROTECTED]>
Date: Monday, October 6, 2003 5:52 am
Subject: Re: [PHP-DB] SoS
> Your if statement will only be TRUE if $id is set to FALSE, NULL or
> (0)--I think you're looking for if the variable is set. That would
> be: if
> Jason Godesky
> [EMAIL PROTECTED]
> > I'm a beginner of PHP. While trying the code from
> > a tutorial, I encountered the following problem.
> > The variable $id can not be transfered to my server.
> > You can find the code at the end of this email. When
> > I visit http://mydomain.com/test.php?id=1
> > it always shows the list of the database instead
> > of a perticular record.
> > I appreciate your kind helps!
> > Zhan Xu
> > EECS Department
> > Case Western Reserve University
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php