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

2002-06-05 Thread Michael Davey
By reading the manual section relevant to your specific database... 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=38img

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

2002-06-05 Thread Michael Davey
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

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

2002-06-05 Thread John Taylor-Johnston
Should find enough code for displaying graphics (and sending by smtp) in this code. You'll find some session stuff too. HTH J http://www.collegeSherbrooke.qc.ca/languesmodernes/postcard/index.html.phps http://www.collegeSherbrooke.qc.ca/languesmodernes/postcard/display_image.phps