?

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

?
?someone please help.....
Author:??(---.proxy.aol.com)
Date:???03-06-03 14:19

i believe this is to long of a sql call how would i do it then? and what is the limit, if any?


if ("Add To The Database" == $HTTP_POST_VARS["Search"]) {
$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]'";
if (@mysql_query($sql)) {

?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: > > i believe this is to long of a sql call how would i do it > then? and what is the limit, if any? > > > if ("Add To The Database" == $HTTP_POST_VARS["Search"]) { > $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]'"; > if (@mysql_query($sql)) { ">??

Provided By
Phorum