Jump to content

Post information retrieved from database


gavin.sibley

Recommended Posts

Hello,

 

i have a page that retrieves information from a database, if i echo out $slide[ip] it will display the correct information. How can i send this information to another page?

 

scenario:

 

1. i have a page that retrieves the information

 

2. when i press download on that page i need the ip field to be able to be sent to the script that generates the download.

 

 

any ideas?

 

many thanks,

Gavin

Hello Wigwambam,

 

thanks for your reply. i am a novice to php though (just trying to fix a website that someone else broke) is there any chance you could tell me how to do what you said, if i post the code for the current button?

 

<?php if($slide[upload_photo_zip] == "none"){ echo("Not Uploaded Yet"); }else{ echo("<a href='http://www.mydomain.co.uk/generate.php'>Download</a>"); } ?>)</em></td>

 

thats the code for the curent download button. if you could tell me how to insert your suggestion into this that would be great, i have had a go but cant seem to get it working?

 

many thanks,

gavin

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.