Php Code Help

Status
Not open for further replies.

tiger

Beta member
Messages
2
This is the website issue I am now having problem with when doing it in php.....The webpage is @
http://www.vicomputerguy.com/steel/dsheet2.htm the php code is below......the problem I'm having is that I dont know how to keep a running total while I'm entering infomation,and also to prevent entry of Alpha-numeric characters in each field.


right:.5pt solid black'>Light (60
watts)</td>
<td class=xl41 align=right>60</td>
<td class=xl41 align=right>60</td>
<td class=xl42><input type="Text" name= $light size="7" align=right value=0></td>
<td class=xl43 align=right><?php $lightw = $light * 60?>0</td>
<td class=xl42><input type="Text" name="lightq" size="7" align=right value=0> </td>
<td class=xl44 align=right>0</td>
<td class=xl26> </td>
</tr>
<tr height=12>
<td height=12></td>
<td class=xl25> </td>
<td class=xl45>2</td>
<td colspan=3 class=xl96 style='border-

Thank you!
 
I think you'll find Javascript of more help here. PHP requires a page refresh before it can process new data, whereas Javascript can do it on-the-fly.
 
Status
Not open for further replies.
Back
Top Bottom