Jump to content

Passing data via post through forms


Yesideez

Recommended Posts

Just been playing with something new...

I've got a script to read a text box in a form and the menu is comprising of buttons rather than standard links. When a menu button is selected the script reads the text box and stores the contents in a variable. Depending on which menu button is clicked I need to pass the contents of the variable to another script using header("Location: ???.php");

I've tried this:
[code]$_POST['textbox']=$_POST['textbox'];[/code]
But it doesn't work - hope you know what I mean - any ideas?

The contents of the text box must not be carried in the URL or a session variable.
Link to comment
https://forums.phpfreaks.com/topic/29245-passing-data-via-post-through-forms/
Share on other sites

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.