Jump to content


duplicating a field outside of a table? Script Error?

  • Please log in to reply
3 replies to this topic

#1 damienwc

  • Members
  • PipPip
  • Member
  • 10 posts

Posted 02 June 2006 - 08:38 PM

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?

#2 poirot

  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 02 June 2006 - 08:53 PM

Not only that; it will create a whole empty row.

It would be helpful to know the code.
~ D Kuang

#3 kenrbnsn

  • Staff Alumni
  • Advanced Member
  • 8,235 posts
  • LocationHillsborough, NJ, USA

Posted 03 June 2006 - 02:03 AM

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:
  • 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.
If you clean up the generated HTML, you will probably find that the display problems disappear.


#4 damienwc

  • Members
  • PipPip
  • Member
  • 10 posts

Posted 03 June 2006 - 08:38 PM

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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users