RE: [PHP] Passing variable to new page and pulling the rest of info from database

2002-06-05 Thread Scott Hurring
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 >

Re: [PHP] Passing variable to new page and pulling the rest of info from database

2002-06-05 Thread 1LT John W. Holmes
-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&

RE: [PHP] Passing variable to new page and pulling the rest of info from database

2002-06-05 Thread Scott Hurring
[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

Re: [PHP] Passing variable to new page and pulling the rest of info from database

2002-06-05 Thread 1LT John W. Holmes
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

[PHP] Passing variable to new page and pulling the rest of info from database

2002-06-05 Thread Igor Portnoy
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