Transfer value from form using form.submit?
Hi. I am new to creating websites, so please excuse my ignorance.
I have a form containing two thumbnails. I have used the Onclick(pict) to call a function which should send the value pict to a new page but it doesn't work. The idea is that the second page will look up the image details in a csv file and display the full size picture in the new form. This means that I don't have to have a different html page for each image. This is my first form: action = "ShowImage.php" method = "post">
and my second form: $Pict = $_REQUEST["pict"]; print(" $Pict");?> Clicking on a thumbnail transfers to the new page, but I get a message: Notice: Undefined index: pict in C:\xampp\htdocs\Bk05Ch06\ShowImage.php on line 11 How do I get the variable "pict" transferred to the new page? Thanks. See more: free ringtone download | free ringtones, download message tones |
All times are GMT -7. The time now is 01:14 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.