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
ou'll figure out how to do it. Your
question is way to broad for any help...
---John Holmes...
- Original Message -
From: "Igor Portnoy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 2:40 PM
Subject: [PHP] Passing variable to new
Hello,
I am passing a variable to the new page, when user clicks on the link.
Something like that:
How can I extract all other information out of my database for that ID
in the next page (showimage.php)?
Thanks
5 matches
Mail list logo