nt: Wednesday, June 05, 2002 5:10 PM
> To: Scott Hurring; Php-General (E-mail)
> Subject: Re: [PHP] Passing variable to new page and pulling
> the rest of
> info from database
>
>
> Or simply just validate it's an integer, like it should be,
> like you would
>
-General (E-mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 4:30 PM
Subject: RE: [PHP] Passing variable to new page and pulling the rest of info
from database
> Ahhh! quote that ID number before using it in a query! :)
>
> // for mysql
> mysql_quote($_GET['ID&
[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 4:29 PM
> To: Igor Portnoy; [EMAIL PROTECTED]
> Subject: Re: [PHP] Passing variable to new page and pulling
> the rest of
> info from database
>
>
> SELECT * FROM table WHERE ID = $_GET['ID']
>
> Then create a
SELECT * FROM table WHERE ID = $_GET['ID']
Then create a page to display all of that information. Look at the mysql
functions and learn some PHP. We can't help you without knowing what's in
your table and how you want it displayed, etc...
So keep learning and reading and you'll figure out how to
4 matches
Mail list logo