Re: Filling a text field

From: Date: Mon, 11 Aug 2003 09:11:08 +0000
Subject: Re: Filling a text field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159118@lists.php.net to get a copy of this message
Any of these will work: <input type='text' name='foo' value='<?php echo $foo; ?>' size='20' /> <input type='text' name='foo' value='<?=$foo?>' size='20' /> <? echo "<input type='text' name='foo' value='{$foo}' size='20' />"; ?> easy :) Justin On Monday, August 11, 2003, at 07:01 PM, bob pilly wrote:
Hi all Is there anyway in php to fill a HTMl text input field with a php variable? Or do i have to use javascript? Thanks for any help in advance! ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php --- [This E-mail scanned for viruses]


« previous php.general (#159118) next »