QuickForm installer bug? + Can't display values
| From: | Sergio Tirado | Date: | Fri, 31 May 2002 00:21:05 +0000 |
| Subject: | QuickForm installer bug? + Can't display values | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-1533@lists.php.net to get a copy of this message | ||
I'm just starting out with PHP. I bought the PHP books from Wrox and
was lured by the promise of high quality code from PEAR.
I installed DB.php and got it working immediately; it's great. However,
I installed HTML_QuickForm and had problems with it. I was surprised
because of the great first impression made by DB.php and it's high
quality.
pear install http://pear.php.net/get/HTML_QuickForm
left all HTML_QuickForm files under my /usr/share/pear/HTML
directory, as instructed by me (I'm using Red Hat 7.3). However,
when trying to execute the examples, I realized that QuickForm.php
was looking for some files under /usr/share/pear/HTML/QuickForm
directory which didn't exist. I had to create it and move the files
manually.
Once that was working, I found some problems with one of the two
examples included. I had to comment out a few lines related to
<select> and form validation to get it working.
Despite all that, I started playing with it and looks great too, however,
once I made the form I wanted, I can use it to get values from it but
I haven't found a way to get it to display values I have retrieved from
a database. ¿Could someone tell me how to do this?
I found good documentation for DB.php
http://vulcanonet.com/soft/?pack=pear_tut
but haven't found for HTML_QuickForm. Does anybody know of a site
with documentation?
--
Sergio Tirado