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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.