This is a discussion on Please Help.. within the alt.comp.lang.php forums, part of the PHP Programming Forums category; If someone can either direct me to some howto or even provide me with an example, I would be grateful. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
If someone can either direct me to some howto or even provide me with
an example, I would be grateful. I would like to know if it is possible to create an HTML form text box that can draw information out of the database and display it in the HTML form text box. I have purchased a few books on the integration of Postgres and PHP but can find no such example. Maybe there is a better way of doing this? My theory is that if I can draw this information from the database and have it displayed in the HTML form text box, this same information can be UPDATED if need be from the same page. Any information or a point in the right direction, again would be appriciated. Frank |
|
|||
|
fjmannarino@yahoo.com wrote:
> I would like to know if it is possible to create an HTML form text box > that can draw information out of the database and display it in the > HTML form text box. Pretty straightforward... what exactly is your problem ? f. |
|
|||
|
<alt.comp.lang.php>
<> <16 Jul 2006 05:02:25 -0700> <1153051345.368910.232740@35g2000cwc.googlegroups. com> > I would like to know if it is possible to create an HTML form text box > that can draw information out of the database and display it in the > HTML form text box. I have purchased a few books on the integration of > Postgres and PHP but can find no such example. Maybe there is a better > way of doing this? > > My theory is that if I can draw this information from the database and > have it displayed in the HTML form text box, this same information can > be UPDATED if need be from the same page. Any information or a point in > <input type="text" name="toke" value="<?php print $ganja; ?>" size="90" class="formbox_four"> value="<?php print $ganja; ?>" Once you have pulled the info from the database - you can have it appear via the value="" in the <input> -- Encrypted email address www.emailuser.co.uk/?name=KRUSTOV |
|
|||
|
fjmannarino@yahoo.com wrote:
> If someone can either direct me to some howto or even provide me with > an example, I would be grateful. > > I would like to know if it is possible to create an HTML form text box > that can draw information out of the database and display it in the > HTML form text box. I have purchased a few books on the integration of > Postgres and PHP but can find no such example. Maybe there is a better > way of doing this? > > My theory is that if I can draw this information from the database and > have it displayed in the HTML form text box, this same information can > be UPDATED if need be from the same page. Any information or a point in Query results cleaned, then feed thus: <label for=\"id\">Id Number </label> <input type=\"text\" id=\"id\" name=\"id\" size=\"4\" value=\"$row[0]\"><br> Next label, etc. (Value = $row[n] being the important part.) Put in the id number, submit, the record is in the form. A place holder is set (old_id_number) if id == existing, Modify the record. HTH -- TK http://wejuggle2.com/ Still Having a Ball ----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups ----= East and West-Coast Server Farms - Total Privacy via Encryption =---- |