logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: QuickForm installer bug? + Can't display values: msg#00233

Subject: Re: QuickForm installer bug? + Can't display values
le 31/05/02 2:21, Sergio Tirado à stirado@xxxxxxxxxxxxxxxxxxx a écrit :

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

Which example are you talking about ? 1 or 2 ?

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

Do you use setDefaults ? Look at the example 1.
What version of php do you use ?

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

There is no site with documentation for QuickForm. It is a big class with
lots of files and writing a documentation would take too long for me now.

Can you try to install Auth with pear installer and report if it installs
everything in the same directory or create the container directory as
expected or if it does the same thing as with QuickForm.

I reported a bug for that yesterday. There's nothing else I can do about it.

Bertrand Mansion
Mamasam



--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>