| | |
error problem
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2009
Posts: 11
Reputation:
Solved Threads: 1
hello...
i am doing shopping cart. in that there is billing address is there and shipping address is there. in there between "copy" link is there. when that page is loading "billing address fields comming and 'copy' link is also comming. but shipping address fields are not comming. after 'copy' link bellow error occuring. billing address , copy link, shipping address fields are in one form. plz solve my prblm.
"HTTP/1.1 200 OK Date: Wed, 04 Nov 2009 05:13:59 GMT Server: Apache/2.0.55 (Win32) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=15, max=97 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html 1200d "
i am doing shopping cart. in that there is billing address is there and shipping address is there. in there between "copy" link is there. when that page is loading "billing address fields comming and 'copy' link is also comming. but shipping address fields are not comming. after 'copy' link bellow error occuring. billing address , copy link, shipping address fields are in one form. plz solve my prblm.
"HTTP/1.1 200 OK Date: Wed, 04 Nov 2009 05:13:59 GMT Server: Apache/2.0.55 (Win32) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=15, max=97 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html 1200d "
Last edited by pushpakalpana; Nov 4th, 2009 at 1:23 am.
•
•
Join Date: Sep 2009
Posts: 557
Reputation:
Solved Threads: 64
•
•
•
•
hello...
i am doing shopping cart. in that there is billing address is there and shipping address is there. in there between "copy" link is there. when that page is loading "billing address fields comming and 'copy' link is also comming. but shipping address fields are not comming. after 'copy' link bellow error occuring. billing address , copy link, shipping address fields are in one form. plz solve my prblm.
"HTTP/1.1 200 OK Date: Wed, 04 Nov 2009 05:13:59 GMT Server: Apache/2.0.55 (Win32) PHP/5.1.4 X-Powered-By: PHP/5.1.4 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Keep-Alive: timeout=15, max=97 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html 1200d "
Post your this part of the code.
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
•
•
Join Date: Oct 2009
Posts: 11
Reputation:
Solved Threads: 1
0
#3 Nov 4th, 2009
•
•
•
•
I suspect these are the html headers echoed by your browser and the succeeding exit.
Post your this part of the code.
PHP Syntax (Toggle Plain Text)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
•
•
Join Date: Sep 2009
Posts: 557
Reputation:
Solved Threads: 64
0
#4 Nov 4th, 2009
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
•
•
Join Date: Oct 2009
Posts: 11
Reputation:
Solved Threads: 1
0
#5 Nov 4th, 2009
PHP Syntax (Toggle Plain Text)
<script language="javascript"> function copy() { window.document.formx.name1.value=window.document.formx.name.value; window.document.formx.lastname1.value=window.document.formx.lastname.value; window.document.formx.address21.value=window.document.formx.address1.value; window.document.formx.bemail.value=window.document.formx.semail.value; if(window.document.formx.state1.value!='') { window.document.formx.state3.value=window.document.formx.state1.value; } else { window.document.formx.state3.value=window.document.formx.state.value; } window.document.formx.zip1.value=window.document.formx.zip.value; window.document.formx.country1.value=window.document.formx.country.value; window.document.formx.phone1.value=window.document.formx.phone.value; } </script>
•
•
Join Date: Sep 2009
Posts: 557
Reputation:
Solved Threads: 64
0
#6 Nov 4th, 2009
Do not find anything wrong with this function,until you have all the element s always in the html when you call this function. but where does it gets called.
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
•
•
Join Date: Oct 2009
Posts: 11
Reputation:
Solved Threads: 1
0
#7 Nov 4th, 2009
•
•
•
•
Do not find anything wrong with this function,until you have all the element s always in the html when you call this function. but where does it gets called.
PHP Syntax (Toggle Plain Text)
<table > <tr> <td height="20" align="left" colspan="2"valign="middle" bgcolor="#C2E1FE" class="normal_text_bold2">Shipping Information</span> </td> </tr> <tr> <td width="229"height="25" align="right" valign="middle" class="inner_product_text">First Name : </td> <td height="25" align="left" valign="middle"><input name="name" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[firstname]?>" tabindex="1" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Last Name : </td> <td height="25" align="left" valign="middle"><input name="lastname" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[lastname]?>" tabindex="2" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text"> Address : </td> <td height="25" align="left" valign="middle"><input name="address1" type="text" class="form_1" size="30" tabindex="3" value="<?=$sqlfetcharray2[address]?>"/></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Email Id : </td> <td height="25" align="left" valign="middle"><input name="semail" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2['emailid']?>" tabindex="4" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Country :</td> <td height="25" align="left" valign="middle"><table width="50%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td width="50%" height="25" align="left" valign="middle"><select name="country" onchange="changeState()"> <option value="" selected="selected">--select--</option> <?php if($sqlfetcharray2['country']) { ?> <option value="<?=$sqlfetcharray2['country']?>" selected="selected"> <?=$sqlfetcharray2['country']?> </option> <? } foreach($totalcountry as $val){ if($val!=$sqlfetcharray2['country']) { ?> <option value="<?=$val?>"> <?=$val?> </option> <?php } }?> </select></td> </tr> </table></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">State :</td> <td height="25" align="left" valign="middle"><table width="50%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td align="left" id="display" style="display:none;"><select name="state" id="state" class="select" > <option value="" selected="selected">--select--</option> </select></td> <td align="left" id="display1" style="display"><input type="text" name="state1" size="30" value="<?=$sqlfetcharray2['state']?>" /> </td> </tr> </table></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Zip Code :</td> <td height="25" align="left" valign="middle"><input name="zip" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2['zipcode']?>"/></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Phone :</td> <td height="25" align="left" valign="middle"><input name="phone" type="text" class="form_1" size="30" maxlength="20" value="<?=$sqlfetcharray2['phoneno']?>" /></td> </tr> </table></td> </tr> <tr> <td colspan="3" align="center" class="colorred10" valign="middle"><a href="javascript:copy();" tabindex="9"><img src="images/copy.png" border="0" /></a> </td> </tr> <tr> <td> </td> </tr> <tr> <td height="274"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="borders"> <tr> <td width="229" height="1" align="left" valign="top" bgcolor="#1A76B9"></td> <td width="556" height="1" align="left" valign="middle" bgcolor="#1A76B9"></td> </tr> <tr> <td height="17" colspan="2" align="left" valign="middle" bgcolor="#C2E1FE" class="normal_text_bold2">Billing Information </td> </tr> <tr> <td height="3" align="left" valign="top" class="blue_top_borders"> </td> <td height="3" align="left" valign="middle" class="blue_top_borders"> </td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Fist Name :</td> <td height="25" align="left" valign="middle"><input name="name1" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[firstname]?>" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Last Name : </td> <td height="25" align="left" valign="middle"><input name="lastname1" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[lastname]?>" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Address :</td> <td height="25" align="left" valign="middle"><input name="address21" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[address]?>"/></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Email Id : </td> <td height="25" align="left" valign="middle"><input name="bemail" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2['emailid']?>" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Country : </td> <td height="25" align="left" valign="middle"><select name="country1" onchange="changeState1();"> <option value="" selected="selected">--select--</option> <?php if($sqlfetcharray2['country']) { ?> <option value="<?=$sqlfetcharray2['country']?>" selected="selected"> <?=$sqlfetcharray2['country']?> </option> <? } ?> <?php /*?>foreach($totalcountry as $val){ if($val!=$sqlfetcharray2['country']) {?> <option value="<?=$val?>"> <?=$val?> </option> <?php } }?><?php */?> </select> </td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">State : </td> <td height="25" align="left" valign="middle"><table width="50%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td align="left" id="display" style="display:none;"><select name="state2" id="state2" class="select" > <option value="" selected="selected">--select--</option> </select> </td> <td align="left" id="display2" style="display"><input type="text" name="state3" value="<?=$sqlfetcharray2['state']?>" size="30" /></td> </tr> </table></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text"> ZipCode : </td> <td height="25" align="left" valign="middle"><input name="zip1" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2['zipcode']?>"/></td> </tr> <tr> <td width="229" height="22" align="right" valign="middle" class="inner_product_text">Phone :</td> <td height="22" align="left" valign="middle"><input name="phone1" type="text" class="form_1" size="30" maxlength="20" value="<?=$sqlfetcharray2['phoneno']?>" /></td> </tr> </table>
Last edited by pushpakalpana; Nov 4th, 2009 at 2:24 am.
•
•
Join Date: Sep 2009
Posts: 557
Reputation:
Solved Threads: 64
0
#8 Nov 4th, 2009
what you doing after this code, there is no form in your html and no submit or any other button too.
"The discipline of writing something down is the first step towards making it happen."
follow me on twitter
follow me on twitter
•
•
Join Date: Oct 2009
Posts: 11
Reputation:
Solved Threads: 1
0
#10 Nov 4th, 2009
•
•
•
•
k. see this . this is totally in one form.PHP Syntax (Toggle Plain Text)
<table > <tr> <td height="20" align="left" colspan="2"valign="middle" bgcolor="#C2E1FE" class="normal_text_bold2">Shipping Information</span> </td> </tr> <tr> <td width="229"height="25" align="right" valign="middle" class="inner_product_text">First Name : </td> <td height="25" align="left" valign="middle"><input name="name" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[firstname]?>" tabindex="1" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Last Name : </td> <td height="25" align="left" valign="middle"><input name="lastname" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[lastname]?>" tabindex="2" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text"> Address : </td> <td height="25" align="left" valign="middle"><input name="address1" type="text" class="form_1" size="30" tabindex="3" value="<?=$sqlfetcharray2[address]?>"/></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Email Id : </td> <td height="25" align="left" valign="middle"><input name="semail" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2['emailid']?>" tabindex="4" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Country :</td> <td height="25" align="left" valign="middle"><table width="50%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td width="50%" height="25" align="left" valign="middle"><select name="country" onchange="changeState()"> <option value="" selected="selected">--select--</option> <?php if($sqlfetcharray2['country']) { ?> <option value="<?=$sqlfetcharray2['country']?>" selected="selected"> <?=$sqlfetcharray2['country']?> </option> <? } foreach($totalcountry as $val){ if($val!=$sqlfetcharray2['country']) { ?> <option value="<?=$val?>"> <?=$val?> </option> <?php } }?> </select></td> </tr> </table></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">State :</td> <td height="25" align="left" valign="middle"><table width="50%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td align="left" id="display" style="display:none;"><select name="state" id="state" class="select" > <option value="" selected="selected">--select--</option> </select></td> <td align="left" id="display1" style="display"><input type="text" name="state1" size="30" value="<?=$sqlfetcharray2['state']?>" /> </td> </tr> </table></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Zip Code :</td> <td height="25" align="left" valign="middle"><input name="zip" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2['zipcode']?>"/></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Phone :</td> <td height="25" align="left" valign="middle"><input name="phone" type="text" class="form_1" size="30" maxlength="20" value="<?=$sqlfetcharray2['phoneno']?>" /></td> </tr> </table></td> </tr> <tr> <td colspan="3" align="center" class="colorred10" valign="middle"><a href="javascript:copy();" tabindex="9"><img src="images/copy.png" border="0" /></a> </td> </tr> <tr> <td> </td> </tr> <tr> <td height="274"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="borders"> <tr> <td width="229" height="1" align="left" valign="top" bgcolor="#1A76B9"></td> <td width="556" height="1" align="left" valign="middle" bgcolor="#1A76B9"></td> </tr> <tr> <td height="17" colspan="2" align="left" valign="middle" bgcolor="#C2E1FE" class="normal_text_bold2">Billing Information </td> </tr> <tr> <td height="3" align="left" valign="top" class="blue_top_borders"> </td> <td height="3" align="left" valign="middle" class="blue_top_borders"> </td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Fist Name :</td> <td height="25" align="left" valign="middle"><input name="name1" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[firstname]?>" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Last Name : </td> <td height="25" align="left" valign="middle"><input name="lastname1" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[lastname]?>" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Address :</td> <td height="25" align="left" valign="middle"><input name="address21" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2[address]?>"/></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Email Id : </td> <td height="25" align="left" valign="middle"><input name="bemail" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2['emailid']?>" /></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">Country : </td> <td height="25" align="left" valign="middle"><select name="country1" onchange="changeState1();"> <option value="" selected="selected">--select--</option> <?php if($sqlfetcharray2['country']) { ?> <option value="<?=$sqlfetcharray2['country']?>" selected="selected"> <?=$sqlfetcharray2['country']?> </option> <? } ?> <?php /*?>foreach($totalcountry as $val){ if($val!=$sqlfetcharray2['country']) {?> <option value="<?=$val?>"> <?=$val?> </option> <?php } }?><?php */?> </select> </td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text">State : </td> <td height="25" align="left" valign="middle"><table width="50%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td align="left" id="display" style="display:none;"><select name="state2" id="state2" class="select" > <option value="" selected="selected">--select--</option> </select> </td> <td align="left" id="display2" style="display"><input type="text" name="state3" value="<?=$sqlfetcharray2['state']?>" size="30" /></td> </tr> </table></td> </tr> <tr> <td width="229" height="25" align="right" valign="middle" class="inner_product_text"> ZipCode : </td> <td height="25" align="left" valign="middle"><input name="zip1" type="text" class="form_1" size="30" value="<?=$sqlfetcharray2['zipcode']?>"/></td> </tr> <tr> <td width="229" height="22" align="right" valign="middle" class="inner_product_text">Phone :</td> <td height="22" align="left" valign="middle"><input name="phone1" type="text" class="form_1" size="30" maxlength="20" value="<?=$sqlfetcharray2['phoneno']?>" /></td> </tr> </table>
![]() |
Similar Threads
- Error Problem (C++)
- error problem. (Visual Basic 4 / 5 / 6)
- Another IDE Error Problem (Windows NT / 2000 / XP)
- Unknown error and ')' Problem (PHP)
- IDE Error #1 problem.... (Windows NT / 2000 / XP)
Other Threads in the PHP Forum
- Previous Thread: PHP Security Framework needed...
- Next Thread: Thumb an image
Views: 266 | Replies: 10
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database date datepart directory display download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla jquery limit link list login loop mail menu methods mlm mod_rewrite multiple mysql oop parse password paypal pdf php problem query radio random recursion regex remote script search select seo server sessions sms soap source space speed sql structure syntax system table tutorial update updates upload url validation validator variable video web webdesign xml youtube





