This is a discussion on displaying data to form.... within the PHP Language forums, part of the PHP Programming Forums category; dba wrote: > Jerry Stuckle wrote: >> dba wrote: >>> Really? >>> >>> &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
dba wrote:
> Jerry Stuckle wrote: >> dba wrote: >>> Really? >>> >>> <input type="text" name="inputFieldName" value="<?php echo >>> ($thisFieldValue); ?>" /> >>> >>> Jerry Stuckle wrote: >>>> dba wrote: >>>>> Have been displaying data from database using html for some time >>>>> but just recently trying to display data back to "form". Can't find >>>>> answer. >>>>> >>>>> <form method="post" action="<?php echo $PHP_SELF;?>"> >>>>> First Name:<input type="text" size="12" maxlength="12" >>>>> name="Fname"><br > >>>>> Last Name:<input type="text" size="12" maxlength="36" >>>>> name="Lname"><br /> >>>>> Gender:<br /> >>>>> Male:<input type="radio" value="Male" name="gender"><br /> >>>>> Female:<input type="radio" value="Female" name="gender"><br /> >>>>> >>>>> Now once I have the data in the database I want to display in the >>>>> same form. Have been doing googles and have for some time been >>>>> displaying using html like >>>>> >>>>> echo "Hello, ".$Fname." ".$Lname.".<br />"; >>>>> echo "You are ".$gender.", and you like "; >>>>> >>>>> but just lately realized I have never display in a "form". >>>>> >>>>> Any help will be appreciated. >>>>> >>>> >>>> You need alt.html to find out how html works. >>>> >>>> Hint - the input field has a "value" attribute which contains the >>>> test you wish to display in it. >>>> >>> >> >> Yes. "value" is an html attribute, not PHP code. Learn the difference. >> > > I understand retard. Perhaps you ought to find something else to do > with your time. > > Also, we have gone over your "flat earth society" bottom post rant > before. > > NEVER > > (Top posting fixed again) Hey, you're the asshole asking for help in the wrong place. Stoopid. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ================== |
|
|||
|
On Wed, 07 May 2008 16:53:35 +0200, dba <someone@someplace.org> wrote:
> I understand retard. Perhaps you ought to find something else to do with > your time. Hmmmz, after he helped you? > Also, we have gone over your "flat earth society" bottom post rant > before. Ah, so you do know you should bottom post allready? 1 & 1 = PLONK Have a very pleasant life. -- Rik Wasmus |
|
|||
|
Thanks for the thoughtful gesture. It is truly appreciated.
Rik Wasmus wrote: > On Wed, 07 May 2008 16:53:35 +0200, dba <someone@someplace.org> wrote: >> I understand retard. Perhaps you ought to find something else to do >> with your time. > > Hmmmz, after he helped you? > >> Also, we have gone over your "flat earth society" bottom post rant >> before. > > Ah, so you do know you should bottom post allready? > 1 & 1 = PLONK > > Have a very pleasant life. |