Sorry for the delay - I figureded out how to get the info in the cart - just removed it from the prices page and put it on the order page by itself
It seems that it loads the drop however it passes the very last day of classes that I have listed to the cart every time.
AND YES .... I think its the drop which needs help to add num, cday and cname to and array or a concatenation to say -
$classNum = $classesRecords['num, cday, cname']; <<<<<<<<<<< but I dont think I have this correct?
< you can see it here with the error stockpiledefensefsnv.com/3order.php
Here is my code-
// load records from 'classes'
list($classesRecords, $classesMetaData) = getRecords(array(
'tableName' => 'classes',
'loadUploads' => true,
'allowSearch' => true,
));
$classNum = $classesRecords['num, cday, cname'];
?>
<style type="text/css">
.norm { line-height: 120%; font-family: verdana; font-size: 10pt }
</style>
<?php include "top.php"; ?>
<FORM METHOD=POST ACTION="http://ssl.securesites.com/cart.pl">
<p align="center">
<b><font size="4" face="Verdana">Step 1: <font color="#800000">Tell Us Your Front Sight Date & Course</font><br></font>
<select name="custom" size="1">
<?php foreach ($classesRecords as $record): ?>
<option value="<?php echo $record['classNum'] ?> "/><?php echo $record['classNum'] ?> </option>
<?php endforeach ?></select>
</b>
<INPUT TYPE=HIDDEN NAME=return VALUE="http://www.stockpiledefensefsnv.com/order.php">
<INPUT TYPE=HIDDEN NAME=merchant VALUE="exedor1">
<INPUT TYPE=HIDDEN NAME=name VALUE="Front Sight Date & Course"/>
<INPUT TYPE=HIDDEN NAME=custom2 VALUE="<?php echo $record['cname'] ?> "/>
<INPUT TYPE=HIDDEN NAME=custom1 VALUE="<?php echo $record['cday'] ?> "/>
<INPUT TYPE=HIDDEN NAME=price VALUE="$0.00"/>
<INPUT TYPE=submit NAME="add" VALUE="STEP 1: Add Class to Cart"></p>
</FORM>
<p align="center">
<b><font size="4" face="Verdana"><font color="#800000">Select your preference</font>
<a target="handgun" href="handgunorder.php">Handgun</a> | <a target="handgun" href="shotgunorder.php">Shotgun</a> | <a target="handgun" href="skitsorder.php">Shotgun Kits</a>
| <a target="handgun" href="rifleorder.php">Rifle</a> </font></b></p>
</p>
<p align="center">
<iframe width="948" height="1755" src="plist.php" name="handgun" border="0" frameborder="0"></iframe>
</p>
<?php include "footer.php"; ?>
Patricia
www.thenetgirl.com