code on pages
Hi,
I took the code out of my live pages cause I kept getting messages:
Here is the code I was using:
<?php if ($totalRows_rsSize > 0) { // Show if recordset not empty ?>
<label style=" margin-left:5px" >
<select name="megan_1_size_Add">
<option value="" selected>Select Size</option>
<?php
do {
?>
<option value="<?php echo $row_rsSize['size']?>"><?php echo $row_rsSize['size']?></option>
<?php
} while ($row_rsSize = mysql_fetch_assoc($rsSize));
$rows = mysql_num_rows($rsSize);
if($rows > 0) {
mysql_data_seek($rsSize, 0);
$row_rsSize = mysql_fetch_assoc($rsSize);
}}
?></select></label>
<br />
<br />
<br />
<input type="image" src="images/add_to_bag_final_300dpi2.jpg" border="0" value="Add to Cart" name="megan_1_ATC">
</form>
Something is amiss with it.
Thank you