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:[EMAIL PROTECTED]]
> 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" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to