Jump to content

Recommended Posts

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?

 

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.