?

Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


C# Help

?
?Re: someone please help.....
Author:??(---.cpe.net.cable.roger)
Date:???03-07-03 06:37

hey thomas

try this one

if ($HTTP_POST_VARS["Search"] == "Add To The Database") {
$Address = $HTTP_POST_VARS[Address];
$Address = nl2br($Address);

$sql = "INSERT INTO la_exhibitors SET ID='".$HTTP_POST_VARS[ID]."', Boothno='".$HTTP_POST_VARS[Boothno]."',
Company='".$HTTP_POST_VARS[Company]."', Telephone='".$HTTP_POST_VARS[Telephone]."', Fax='".$HTTP_POST_VARS[Fax]."',
Website='".$HTTP_POST_VARS[Website]."', Email='".$HTTP_POST_VARS[Email]."', Address = '".$Address."',
Fname='".$HTTP_POST_VARS[Fname]."', Lname='".$HTTP_POST_VARS[Lname]."', City='".$HTTP_POST_VARS[City]."',
State='".$HTTP_POST_VARS[State]."', County='".$HTTP_POST_VARS[County]."', Zip='".$HTTP_POST_VARS[Zip]."',
Category='".$HTTP_POST_VARS[Category]."', PS='".$HTTP_POST_VARS[PS]."', Vbooth='".$HTTP_POST_VARS[Vbooth]."',
Description='".$HTTP_POST_VARS[Description]."', logo='".$HTTP_POST_VARS[logo]."', Userid='".$HTTP_POST_VARS[Userid]."'";

?Topics Author? Date
?someone please help.....??new
Thomas 03-06-03 14:19?
?Re: someone please help.....??new
martin 03-06-03 23:24?
?Re: someone please help.....??new
bastien 03-07-03 06:37?
?Re: someone please help.....??new
Thomas 03-07-03 19:11?
Go to Top??|??Go to Topic??|??Flat View??|??Search?
??|??
New Topic
?Reply To This Message
?Your Name:
?Your Email:
?Subject:
Email replies to this thread, to the address above.
??wrote: > > hey thomas > > try this one > > if ($HTTP_POST_VARS["Search"] == "Add To The Database") { > $Address = $HTTP_POST_VARS[Address]; > $Address = nl2br($Address); > > $sql = "INSERT INTO la_exhibitors SET > ID='".$HTTP_POST_VARS[ID]."', > Boothno='".$HTTP_POST_VARS[Boothno]."', > Company='".$HTTP_POST_VARS[Company]."', > Telephone='".$HTTP_POST_VARS[Telephone]."', > Fax='".$HTTP_POST_VARS[Fax]."', > Website='".$HTTP_POST_VARS[Website]."', > Email='".$HTTP_POST_VARS[Email]."', Address = '".$Address."', > Fname='".$HTTP_POST_VARS[Fname]."', > Lname='".$HTTP_POST_VARS[Lname]."', > City='".$HTTP_POST_VARS[City]."', > State='".$HTTP_POST_VARS[State]."', > County='".$HTTP_POST_VARS[County]."', > Zip='".$HTTP_POST_VARS[Zip]."', > Category='".$HTTP_POST_VARS[Category]."', > PS='".$HTTP_POST_VARS[PS]."', > Vbooth='".$HTTP_POST_VARS[Vbooth]."', > Description='".$HTTP_POST_VARS[Description]."', > logo='".$HTTP_POST_VARS[logo]."', > Userid='".$HTTP_POST_VARS[Userid]."'"; ">??

Provided By
Phorum