Web Analytics Made Easy -
StatCounter PHP in textarea, wrongly adding tabs - CodingForum

Announcement

Collapse
No announcement yet.

PHP in textarea, wrongly adding tabs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP in textarea, wrongly adding tabs

    Fixed silly me

    It's a form which pulls all details from order into it to attach images which forward all details and images to my email. The from can pull everything else from db no problem but putting the address in a text area seems to add unwanted tabs at the start (See Image).



    PHP Code:
    <textarea name="address" readonly="readonly" cols="50" rows="5" id="address">
         <?
         $dbbt
    ->p("address_1");
         echo(
    "\n");
         
    $dbbt->p("address_2");
         echo(
    "\n");
         
    $dbbt->p("city");
         
    ?>
    </textarea>
    Last edited by reyna12; Oct 2, 2006, 11:15 AM. Reason: Fixed
Working...
X