At 08:24 AM 1/30/01 +0200, you wrote:
>It  does work on the face of it. But when you 
>query the database the field is empty even if you filled
>it in.
>

Try something like this...

<?php
        print "                      <textarea cols=\"60\" rows=\"7\"
name=\"LongDesc\">";
        if ($editing) {
          print "$desc_long";
        }
        print "</textarea>\n";
?>

Note that there's no blank lines between the <textarea> and </textarea>
tags besides those present in the $desc_long string that was retrieved from
the database.  That avoids adding undesired blank lines and spaces.

-Mike


 Come the millennium month 12, in the home of the greatest power,
 the village idiot will come forth to be acclaimed the leader.
                                   (Nostradamus, 1555)
 I do know I'm ready for the job.
 And, if not, that's just the way it goes.
                                   (George W. Bush, 2000)


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to