hello everyone,

i m new in php.
i got a problem with my php and ajax code. i used div id to show data within html page (data retrieve from database).it's working well.but now i need to put showing value inside a input box. how to do that.

can any one help me out.

Thanks

try this:

<input name="username" type="text"  size="30" maxlength="50"  value=" $row['username']; ?>" >

$row comes form your database queries...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.