...

View Full Version : display text box once link has been clicked



twobyfour
06-27-2010, 05:46 AM
I dont know anything about javascript or ajax, so i need some help please.

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.

abduraooft
06-27-2010, 05:13 PM
I need a textbox that autofilles from a mysql database. Do you know how to fetch the data from DB?

To show something in textbox, all that you need is to set the value attribute, like


<?php
$foo="bar";
?>
<input type="text" name="date" value="<?php echo $foo;?>">



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum