Re: [PHP3] form information into variables From: Richard Lynch (rlynch <email protected>)
Date: 02/29/00

At 12:50 PM 2/29/00 -0700, you wrote:
> I didn't see this post to the group the first time so I will try
>again. If I understand the PHP3 manual correctly, you can make the
>action of an HTML form your PHP3 script, and in your PHP3 script, simply
>put an $ in front of the field name from the form and insert it that way
>correct? This is a snippet of the code I am using . . . form.html

please turn off html-enabled email...

>========= <> <> <> <> <> insert.php3 ========= <?PHP
>require('logon.inc');
>
> $table = 'CHHmember';
>
>{
>$str_sql = "insert into $table
> (
> FirstName,
> LastName )
> values
> (
> '$FirstName'
> )";

You build the query string, but don't send it to the database.

> exit();
>
>}
>> ============== I have tried this several different ways (with

-- 
"TANSTAAFL"
We're looking for PHP/ASP hacker: http://ignitionstate.com/jobs/index.html
Need Work? Printer Driver: http://L-I-E.com/jobs.htm#PrinterDriver
I will be offline from March 8th through April 2nd.
http://CHaTMusic.com                       http://EmphasisEntertainment.com
http://L-I-E.com                           http://JadeMaze.com
http://CatCatalani.com                     http://MGMH.com
http://VoodooKings.net                     http://UncommonGround.com

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>