Jump to content

duplicating a field outside of a table? Script Error?


damienwc

Recommended Posts

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?
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.