close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Passing Form information to a new page after Update

Thread began 3/12/2010 8:21 am by dinohorn397192 | Last modified 3/14/2010 6:48 am by dinohorn397192 | 1618 views | 4 replies |

dinohorn397192

Passing Form information to a new page after Update

I'm using CSS Form Builder and DataAssist to update my table. It's updating the table fine. The problem is, I can't get any form data to pass into the next page. It's blank.

So for example .. I have this inside my edit.php form element.

<input id="pawsid" name="pawsid" type="hidden" value="<?php echo $_POST['pawsid']; ?>" />
<input id="pawsname" name="pawsname" type="hidden" value="<?php echo $_POST['pawsname']; ?>" />

*NOTE: I have this same argument sending data to this page.

after the insert, it is going to my test.php page. I have this code to catch it.

<?php

echo $_POST['pawsid'];
echo $_POST['pawsname'];

?>

Any ideas why it's blank?

Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

this is the way forms work. when a form posts, the posted data is available to the forms action page, once the action page is done loading, or redirects to another page, the form post is destroyed.

The froms post will not be available to the test.php page.

Sign in to reply to this post

dinohorn397192

How would I then pass a variable to the next page? would it have to be a SESSION variable? I'm trying to avoid GET. -- I want to hide my parameter from showing in the URL.

Thanks again

Sign in to reply to this post

Jason ByrnesWebAssist

yes, use a session variabel to pass it to the next page.

Sign in to reply to this post

dinohorn397192

Thanks, got it work with session variable like you said :)

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...