poqoz-87 Posted May 14, 2007 Share Posted May 14, 2007 i has this idea in mind but it cant seem to work. i m using ms sql database, by the way:) this is the scenario: the user will have to fill in the membership form. when they click onto the submit button in the membership form, the information-that the user key in, will be displayed in the next page. this is the code that i am using to display the info-that the user key in to be display onto the next page <form action="action.php" method="get"> <p>Your name: <input type="text" name="name" /></p> <p>your age: <input type="text" name="age" /></p> <p><input type="submit" /></p> Hi <?php echo htmlspecialchars($_GET['name']); ?>. You are <?php echo (int)$_GET['age']; ?> years old and this is the thing that until now, i finding difficulty with. in the action.php page, the user will then have to click onto the submit button in order for their information to be inserted in the ms sql database. can someone help me as in, how am i suppposed to get the info-that the user key in from the action.php page,to be inserted in the ms sql database? Quote Link to comment https://forums.phpfreaks.com/topic/51276-how-to-get-info-frm-the-page-to-be-inserted-into-ms-sql-database/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.