Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
06-27-2010, 04:46 AM #1
- Join Date
- May 2010
- Thanked 0 Times in 0 Posts
display text box once link has been clicked
I need a textbox to show once a link or button as been clicked. If the user decides not to use this textbox, i need it to disappear.
I also will be using this on a php page.
thank you in advance.
cancel that i changed my mind.
I need a textbox that autofilles from a mysql database. So when a user changes the info in the box, the database will reflect the changes once submitted. I know there is php coding for that but i got that handled, just need the autofill textbox.
Last edited by twobyfour; 06-27-2010 at 05:15 AM.
06-27-2010, 04:13 PM #2
- Join Date
- Mar 2007
- Thanked 2,216 Times in 2,203 Posts
- Blog Entries
Do you know how to fetch the data from DB?I need a textbox that autofilles from a mysql database.
To show something in textbox, all that you need is to set the value attribute, like
<input type="text" name="date" value="<?php echo $foo;?>">
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)