i have code in a text area , i want the user to enter a number (units of alcohol )
and post the number to a mysql database , i want to store the number only and inside the drink () units . ie i want to put the code that reads from the brackets and insterts into a php script which stores the value in a database
How is this done????
please help &much apprieciated ,
laz
Code below
[php]
<td align="left" valign="middle"><table width="365" height="61" border="1">
<tr>
<td width="182"><textarea name="drink_unit" id="drink_unit">I drink () units of alcohol week</textarea></td>
<td width="167">for unit information please click here</td>
</tr>
</table></td>
</tr>[/php]