Jump to content

displaying data


dan_t

Recommended Posts

If I understand what you are saying...let's say you have an html page with one text box with the name 'address.'

 

The form action is process.php.  The code:

$address = $_POST['address'];
// Redirect to another page, appending value to url
header("location: file.php?address={$address}");
exit():

Then in file.php you could do w/e you wanted with that

// In file.php
$address = $_GET['address'];
// Do something

 

However, I don't see why you would pass on values to another script when you could just process them in one script...

Link to comment
Share on other sites

I'm horrible at explaining things, but I'll try.

You have a person come onto your site. You want them to fill out a form so they can have their own page with the information they filled out, like in comments.

Each person uses the same form, the form I thing has to go to the same file I guess? action="whatever".

You can't get that information to their own page without information going into a database can you?

There would be no way to store it, correct?

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.