[PHP] How to add a button that updates the content of a text box
I have a text box that fetch it's content from a database. If I want to modify it's values, all I have to do is to modify the content of the textbox manually and press the "save" button. It's a textbox that contains date value.
I want that improved. Instead of modifying the value or the date manually, I wanted to just add a button or a link that when pressed, automatically updates the contect of the textbox.
Here's the current code of the text box:
<tr> <td width="24%" valign="top" class="form_title" >Date Confirmed Working:</td> <td width="76%" valign="top"><input type="text" name="DateTested_Setting_" size="10" maxlength="10" class="form_text" value="<?php echo $form_data["DateTested"] ?>" /> Format: YYYY-MM-DD <img src="images/icons/help.png" onclick="showHelp(this)" style="cursor:pointer" /> <div class="div_help"> Date in which the coupon is last tested and confirmed working. </div></td> </tr>
-
emptee -
Thanks - 1 reply
Signature★★★ Supercharge GSA Search Engine Ranker With PA and DA. Rank Like it's 2012 Again ★★★Is CloudFlare COSTING You Business?{{ DiscussionBoard.errors[10030285].message }}-
KenWeiLL -
Thanks
SignatureLibre Coupon - A Contemporary Coupon Website{{ DiscussionBoard.errors[10030752].message }} -
-
-
KenWeiLL -
Thanks
SignatureLibre Coupon - A Contemporary Coupon Website{{ DiscussionBoard.errors[10030781].message }} -
-
emptee -
[ 1 ] Thanks
Signature★★★ Supercharge GSA Search Engine Ranker With PA and DA. Rank Like it's 2012 Again ★★★Is CloudFlare COSTING You Business?{{ DiscussionBoard.errors[10030825].message }} -
-
KenWeiLL -
Thanks
SignatureLibre Coupon - A Contemporary Coupon Website{{ DiscussionBoard.errors[10030841].message }} -
-
KenWeiLL -
[ 1 ] Thanks - 1 reply
SignatureLibre Coupon - A Contemporary Coupon Website{{ DiscussionBoard.errors[10032476].message }}-
emptee -
[ 1 ] Thanks
Signature★★★ Supercharge GSA Search Engine Ranker With PA and DA. Rank Like it's 2012 Again ★★★Is CloudFlare COSTING You Business?{{ DiscussionBoard.errors[10032560].message }} -
-