eCart page count
Thanks for your reply
Page count
I have used <?php echo ($_GET['pgx']-40); ?> as part of the cart, not as a session.
Cart code:
<input type="text" name="Spectrum_online_7_Pages_Add" value="<?php echo ($_GET['pgx']-40); ?>" /> where "pgx" is the page count.
Where would I place
if($_SESSION['pagecount'] <= 0) $_SESSION['pagecount'] = 0;
or would this be different.
after setting the session:
$_SESSION['pagecount'] = <?php echo ($_GET['pgx']-40); ?>
Thanks
David