
Originally Posted by
Website Rob
Two things I noticed.
.........
As it is currently, a <div> tag is missing and the FORM is not properly coded. This may or may not solve the Quantity problem but it is coding that needs to be corrected.
Speaking of which, I found the above problems using the validator.w3.org which is always a handy tool--regardless of having problems or not.
Well, you weren't too far off with your missing <div> tag.
Changed this
Code:
<?php
$page_query = $db->Execute("SELECT pages_html_text FROM ezpages WHERE pages_title='Shopping Cart Info'");
$shoppingcartinfo_text = $page_query->fields['pages_html_text'];
echo $shoppingcartinfo_text;
?>
</div>
to this, just to "tidy up"
Code:
<div>
<?php
$page_query = $db->Execute("SELECT pages_html_text FROM ezpages WHERE pages_title='Shopping Cart Info'");
$shoppingcartinfo_text = $page_query->fields['pages_html_text'];
echo $shoppingcartinfo_text;
?>
</div>
and the addition of that missing opening <div> tag fixed the update quantity issue.
I found that many boo-boos on this site (from the previous developer) that I am not really surprised. What else will I find in the next few months????
Anyway, thanks all for taking the time to look at this issue, much appreciated!
Cheers / Frank
Bookmarks