On Mon, 3 Mar 2003, Mirco Ellis wrote:

>Hi, I have a  developed a simple Helpdesk for our small company. When users
>log calls they get an alert message warning them that they must fill in all
>the fields if they have missed a field. At the moment if they happen to
>forget a field, they receive the alert message, but then have to start all
>over again. How do I keep the existing data in the textareas from
>dissapearing after the alert message?

$fill = isset($_GET['textareafield']) ? $_GET['textareafield'] : "";

$html = <<<EOF
<textarea name="textareafield">$fill</textarea>
EOF;


-- 
Greg Donald
http://destiney.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to