Re: Populate field from database
Posted: Mon Oct 01, 2012 10:27 pm
Do you know how I can make the
fill a text box?
Code: Select all
<div id='txtHint"></div>
Code: Select all
<tr>
<td style="text-align:right" width="150">Recipients:</td>
<td width="80%"><input type="text" name="custom18" size="40" maxlength="100" value="<?php echo txthint; ?>"<?php if (isset($_SESSION['as_custom18'])) {echo stripslashes(hesk_input($_SESSION['as_custom18']));} ?>" <?php if (in_array('custom18',$_SESSION['iserror'])) {echo ' class="isError" ';} elseif (in_array('email',$_SESSION['isnotice'])) {echo ' class="isNotice" ';} ?> /></td>
</tr>