T
Tem
When a user submits a photo on my site, a confirmation page is shown.
Your photo has been submitted.
I want to generate a link to the photo he just posted on the confirmation
page.
what's the best way to do this?
right now there are two queries on the page
- insert photo
- select where user=@user order by date desc
they seem redundant
does sql return the value/id of the newly created row somewhere?
Tem
Your photo has been submitted.
I want to generate a link to the photo he just posted on the confirmation
page.
what's the best way to do this?
right now there are two queries on the page
- insert photo
- select where user=@user order by date desc
they seem redundant
does sql return the value/id of the newly created row somewhere?
Tem