Jump to content

form data


jagguy

Recommended Posts

You dont need to use cgi-script.

PHP is more than capable of doing what you want to do. If you are unsure on what to do, then prehaps it'll be handy for you tot goto [url=http://www.php-mysql-tutorial.com/]php-mysql-tutorial.com/[/url]. I suggest you read through tutorials 3 throught to 7. If you are new to pHP and dont quite get the PHP syntax then start with tutorial number 2.
Link to comment
Share on other sites

No CGI

Just use POST in your form

Then what ever file you have it going to set up the php to input or update the DB

<form method="post" action="where_ever.php">

Then on where_ever.php set up your connections and write the sql you want:

$sql = "UPDATE table SET field = '$_POST[variable]' WHERE field2 = '$_POST[variable2]'";
Link to comment
Share on other sites

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.