Jump to content

RMZ

New Members
  • Posts

    3
  • Joined

  • Last visited

RMZ's Achievements

Newbie

Newbie (1/5)

1

Reputation

  1. Jacobseated, The code was written sometime in 2013...... if that classifies as old-fashioned
  2. Thanks cyberRobot This now does what's required <tr><td class=textboxlabel><label for="notes">Notes:</label> <td><textarea id="notes" name="notes" rows="4" cols="70" maxlength="250" > <?php if (!empty($notes)) echo $notes; ?> </textarea></td> </tr>
  3. Hi All, New to PHP so any help appreciated Can anyone explain why this; <tr><td><label for="notes">Notes:</label> <td><input type="text" id="notes" name="notes" maxlength="250" size="70" value="<?php if (!empty($notes)) echo $notes; ?>"></input></td> </tr> Displays data from a MySQL database (field $notes, VARCHAR(250) ) and this; <tr><td class=textboxlabel><label for="notes">Notes:</label> <td><textarea id="notes" name="notes" rows="4" cols="70" maxlength="250" value="<?php if (!empty($notes)) echo $notes; ?>"></textarea></td> </tr> displays nothing???? Not sure how much info to provide........
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.