Page 3 of 3

Re: Passing hidden variables PLEASE HELP!

Posted: Mon Feb 02, 2009 3:54 pm
by Skoalbasher
watson516 wrote:have you started the session?

Code: Select all

<?php
//The very top of the page, no output before this
session_start();
?>

Man, I'm a jackass.. Yeah, add this to the top of your page.

Re: Passing hidden variables PLEASE HELP!

Posted: Mon Feb 02, 2009 4:05 pm
by fionaom87
yes you were right about my session!! thanks

just one more things its pulling the quantity value but not the windowtype

<INPUT TYPE="hidden" name="windowtype[]" VALUE="Tilt and Turn">
<INPUT TYPE="hidden" name="windowtype[]" VALUE="Casement Windows">
<INPUT TYPE="hidden" name="windowtype[]" VALUE="Vertical SLider Windows">
<INPUT TYPE="hidden" name="windowtype[]" VALUE="speciality">
<INPUT TYPE="hidden" name="windowtype[]" VALUE="Bay Windows">
<INPUT TYPE="hidden" name="windowtype[]" VALUE="Bow Windows">

IS this correct? must i put the value in my input type as below

<div id="box31"><img src="FYP/img22.jpg" alt="Windows"/>
<label> Casement Windows </label>
</div>
<div id="box32"><input type="text" name="quantity[]" size="1" selected="selected"><label> Quantity</label></div>