Reply to Re: HTML forms and Postgres

Your name:

Reply:


Posted by Michael Vilain on 07/15/06 19:55

In article <1152970930.914425.110350@75g2000cwc.googlegroups.com>,
"fjm67" <fjmannarino@yahoo.com> wrote:

> I am new to PHP but not so new to Postgres. 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

Most of the books I've seen on PHP and databases use the MySQL database
rather than Postgres. But, the approach is the same, especially if you
use a database abastraction layer like the PEAR DB class. I chose to
use a MySQL layer from a php library site. I'm really surprised that
the book you have doesn't supply examples. I'd return it to where you
bought it and complain to the seller that it's useless. If you paid
with a credit card, contest the charge.

If you go to the O'Reilly site (http://www.ora.com), there are _lots_ of
books on php. Or find a local technical book store and browse on your
own to find what suits your needs.

And to clarify your assumption about PHP and databases: you extract the
information from the database with a SQL statement, then write the
information out in properly formatted HTML. This requires you to
understand how your database works, how to construct a HTML page, and
how to program in PHP. Lots of books to buy...

--
DeeDee, don't press that button! DeeDee! NO! Dee...

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация