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

From: Date: Wed, 05 Jun 2002 19:31:39 +0000
Subject: RE: [PHP] Re: Passing variable to new page and pulling the rest of info from database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100774@lists.php.net to get a copy of this message
Sure - first of all what database do you use? Hopefully it is mySQL, as support for this is built in. Then go the the database specific section of the manual, e.g. mySQL Function Reference. This will give you example code for connecting to a database. There are also some good tutorials over at http://www.phpbuilder.com/columns/ if you need more help... Mikey BTW - reply to the list > -----Original Message----- > From: Igor Portnoy [mailto:igor@gibsonusa.com] > Sent: 05 June 2002 19:59 > To: Michael Davey > Subject: RE: [PHP] Re: Passing variable to new page and pulling the rest > of info from database > > > Hello Michael, > > >>By reading the manual section relevant to your specific database... > > I am new to PHP. Can you be a little bit more specific? > > Thanks > > > "Igor Portnoy" <igor@gibsonusa.com> wrote in message > > news:179F7C7EB65877478C8161B9D4262A4888478A@gibson2k01.gibsonusa.com... > Hello, > > > > I am passing a variable to the new page, when user clicks on the link. > Something like that: > > <a href="showimage.php?ID=38"><img > src="/some/image.jpg"></a> > > > > How can I extract all other information out of my database for that ID > in the next page (showimage.php)? > > > > Thanks > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#100774) next »