damienwc Posted June 2, 2006 Share Posted June 2, 2006 here is the url of the page im talking about[a href=\"http://www.arkansas-underground.com/webstore/index.php\" target=\"_blank\"]http://www.arkansas-underground.com/webstore/index.php[/a]Take a look below the first table displayed here........ for some reason it is trying to duplicate the last cell in the table which includes the "shopping cart" script, but it doesnt have the image url to display the picture. I dont know how to keep this field from being duplicated? Quote Link to comment https://forums.phpfreaks.com/topic/11056-duplicating-a-field-outside-of-a-table-script-error/ Share on other sites More sharing options...
poirot Posted June 2, 2006 Share Posted June 2, 2006 Not only that; it will create a whole empty row.It would be helpful to know the code. Quote Link to comment https://forums.phpfreaks.com/topic/11056-duplicating-a-field-outside-of-a-table-script-error/#findComment-41307 Share on other sites More sharing options...
kenrbnsn Posted June 3, 2006 Share Posted June 3, 2006 I looked at the HTML code your PHP script is generating. You should also. If you do, you will see that the HTML being generated is very bad and incorrect.These are just a few of the glaring HTML errors I saw:[list][*]A start of form "<form>", followed by a start of table "<table>", followed by an end of form </form>, and then an end of table "</table>". [*]Many table element tags that are not with the bounds of a table[*]Many end of form tags without start of form tags.[/list]If you clean up the generated HTML, you will probably find that the display problems disappear.Ken Quote Link to comment https://forums.phpfreaks.com/topic/11056-duplicating-a-field-outside-of-a-table-script-error/#findComment-41350 Share on other sites More sharing options...
damienwc Posted June 3, 2006 Author Share Posted June 3, 2006 Hey guys I got the tables to display correctly and also took care of the duplication of the 4th form field. Now I have run into another problem.......... once the order is generated and processed successfully, the items should be removed from the cart but yet they remain unless removed manually in the managecart.html page. Quote Link to comment https://forums.phpfreaks.com/topic/11056-duplicating-a-field-outside-of-a-table-script-error/#findComment-41559 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.