Hello,
I have been banging my head on this for a few days now and just can not seam to figure out what I am doing wrong or missing...
Description of Project:
I am working on a system where users can register a new account and select hardware that I will send to them for use in their locations. The site consists of apx. 15 form pages some 600 possible form fields. (huge I know). For the first pass I have been storing everything in the session, then pulling and building an xml string to insert the values into my central db. I have concluded that this is not secure enough for my liking. There for I have made the move to use mySql to handle the temp storage of the form values etc.
Issue:
The section where they can select hardware is my problem. The user can select an infinite number of hardware types and option combinations. However, each hardware set can only be done one at a time...
The flow is something like this....
Drop Down - Hardware Type
Values - Kiosk, Wall Unit, Printer, Bar Code Reader (Selected Kiosk)
**Selection loads another dropdown**
Drop Down - Kiosk Typo
Values - Tower, Counter Top, Portable (Selected Tower)
At this point I call mySql and get the rest of the form based on the selection of "Tower"
The form loads fine from the db with this exception. (in all palces where I am using php open close tags)
Sample...
<tr>
<td class="style6"><div align="right" >Communications</div></td>
<td class="style6"> </td>
<td class="style6"><select name="ttDevCommFmt" style='font:8pt Verdanda, Arial, Helvetica, sans-serif; border:1 solid #FF9F9F;' onFocus="this.style.backgroundColor='#ffffCC'" onBlur="this.style.backgroundColor='#ffffff'">
<?php print printDeviceCommFormat($_SESSION['ttDevCommFmtHyp']); ?>
</select></td>
</tr>
The <?php print printDeviceCommFormat($_SESSION['ttDevCommFmtHyp']); ?> is not loading the array where the values are stored. If is as if the "<?" "?>" are not being handled correctly, and there is my issue.
I will be more than happy to send anyone the full page code and the code being stored in the db but they are way too long for me to include in this post...
Thanks
Frosty