GET method and querying and displaying associated data EASY
Posted on 2007-04-03
This is probably really easy, I've searched and can't find a similiar situation.
I'm creating a reply script in PHP...a user clicks reply on an ad and that ad's ID is appended to the URL via the GET method.
What I'm trying to do is display the original ad on the top of the reply page. The ads are stored in a MySQL DB. What query string can I use to display the ad whos ID is in the URL?
I will also have a form on that page that will send the reply to the original poster via mail(). I might have more easy questions later.