Reply to Re: sql insert

Your name:

Reply:


Posted by J.O. Aho on 11/30/06 10:58

Gaga wrote:
> OK i will try.
> Do you know how to display db data in textbox ( e.g. user name )?
> I need that for editing of exiting users.

You need to fetch the row with the user data first (I assume you know how to
do that, or else take a look at
www.php.net/manual/en/function.mysql-fetch-array.php ), continue to assume you
have the user in the variable $row, which is an array returned by
mysql_fetch_array(), and the column name with the users name is called username.


<form ...>
<input type="text" value="<?PHP echo $row['username']; ?>">
....
</form>


//Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация