Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Show variable in text field

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Show variable in text field

Postby ashz » Sun Dec 01, 2002 2:51 am


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.
New php-forum User
New php-forum User
Posts: 14
Joined: Thu Oct 31, 2002 7:40 am

Postby Oleg Butuzov » 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>
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.