Re: [PHP3] auto entry to table? From: David Otton (djo <email protected>)
Date: 04/30/00

On Sun, 30 Apr 2000 13:32:26 -0400, you wrote:

>Is it possible to have an automatic/default answers placed in a form
>prior to the manual entries. This to eliminate the need for entering duplicate
>or standard information. I don't believe I've seen it done but I could use it.

Something like this?

 <input type="text" name="email" value="user <email protected>">

Try:

 <? if (!isset($email)) $email = "user <email protected>"; ?>

 <input type="text" name="email" value="<?echo $email?>">

djo

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>