Jump to content


Photo

Sending data from gallery to buy script


  • Please log in to reply
1 reply to this topic

#1 T-B0N3

T-B0N3
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 30 May 2006 - 06:03 AM

Hi there guys. I am having this php script that renders a web gallery (pretty basic I'd say). I would like to have a function on the photo so when I click on it I get redirected to a form where the filename is embbeded in the subject line. Is that possible and if yes how ?

#2 digitalgod

digitalgod
  • Members
  • PipPipPip
  • Advanced Member
  • 374 posts

Posted 30 May 2006 - 06:32 AM

[!--quoteo(post=378317:date=May 30 2006, 02:03 AM:name=T-B0N3)--][div class=\'quotetop\']QUOTE(T-B0N3 @ May 30 2006, 02:03 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Hi there guys. I am having this php script that renders a web gallery (pretty basic I'd say). I would like to have a function on the photo so when I click on it I get redirected to a form where the filename is embbeded in the subject line. Is that possible and if yes how ?
[/quote]


well a quick solution would be to add something like this to your link

yourform.php?file=filename
and use $_GET to get the file name and store it in a variable




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users