|Join Nairaland / Login / Trending / Recent / New|
Stats: 1060616 members, 1230124 topics. Date: Sunday, 19 May 2013 at 12:32 AM
|Select Wit Php by leastpay(m): 1:09pm On May 27, 2012|
Somebody help on how 2 Retrieve a value from mysql db into a textfield with php
|Re: Select Wit Php by truz(f): 9:21pm On May 27, 2012|
leastpay: Somebody help on how 2 Retrieve a value from mysql db into a textfield with php
Use google search, you'll get lots of articles that give a detailed explanation.
|Re: Select Wit Php by bakenda(m): 9:43am On May 28, 2012|
Something like this.
$sel=mysql_query("select thevalue from mysqldb" );
Your text field html code :
<input name="whatever" type="text" id="whatever" value="<?php echo $value;?>" />
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health