Bluehost.com Web Hosting $6.95

Please Help..

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. ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-16-2006
fjmannarino@yahoo.com
 
Posts: n/a
Default Please Help..

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

Reply With Quote
  #2 (permalink)  
Old 07-16-2006
Cujo
 
Posts: n/a
Default Re: Please Help..

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.
Reply With Quote
  #3 (permalink)  
Old 07-16-2006
Krustov
 
Posts: n/a
Default Re: Please Help..

<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
Reply With Quote
  #4 (permalink)  
Old 07-16-2006
Terry
 
Posts: n/a
Default Re: Please Help..

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 =----
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0