shujakku Posted April 23, 2007 Share Posted April 23, 2007 Hi, I can create the page and have the records inserting, without any issue, but the problem I'm having is trying to understand the process involved. I can find lots of tutorials on how to insert records but none on the logic behind it. Can anyone point me in the direction of a tutorial. What I'm trying to understand is the how the form submits the page (to where I'm not sure) and then executes the form handling. I'm using Dreamweaver to create the insert form, if that is of any consequence. Thanks Link to comment https://forums.phpfreaks.com/topic/48284-form-processing/ Share on other sites More sharing options...
Lumio Posted April 23, 2007 Share Posted April 23, 2007 Hi! What do you want? All form-results are in the global variable $_POST. So for example you got a form like this: <form method="post" action=""> <input type="text" name="foo" value="bar" /> <input type="submit" name="submit" value="submit" /> </form> And now you submit the form and can use the following code: <?php echo $_POST['foo']; ?> Link to comment https://forums.phpfreaks.com/topic/48284-form-processing/#findComment-236027 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.