Show variable in text field

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
ashz
New php-forum User
New php-forum User
Posts: 14
Joined: Thu Oct 31, 2002 7:40 am

Sun Dec 01, 2002 2:51 am

Hello,

I wish to write an HTML file with PHP script that will show a text field already filled with data (variable).

How can I do it?

Thanks a lot.

Oleg Butuzov
Last Samuray
Last Samuray
Posts: 824
Joined: Sun Jun 02, 2002 3:09 am

Sun Dec 01, 2002 4:44 am

Code: Select all

<?
echo "<form action=$PHP_SELF method=get>
<input type=text value=$_GET[name]>
<input type=submit>
</form>
?>

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests