Hey. thanks for your reply. It now prints out this error:
Can't connect: DB Error: not found
cheers
Should beginners to php use PEAR???
Moderator: General Moderators
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
Traitor!The Ninja Space Goat wrote:The only Pear package I use frequently is HTML_QuickForm, and I am pretty happy with it... it's far from perfect, but it's definately better than any other form library I've come across.
PEAR is o..kish. I reckon a lot of the code is bullsh*t to be honest. But if you find nice bits, go for it! There definitely are nice bits out there (QuickForm is one of them).
About using libraries in general: Remember they aren't the whole answer but they can be a big chunk. I wouldn't recommend starting to write a big project without checking that somebody hasn't done it before. Writing stuff yourself is great experience but, if you are a novice, its doubtful you will be able to do it as well as someone else. It all depends where you lie on the "need to get things done" versus "need to learn stuff" seesaw.
If you want to learn stuff really, read books.
If you want to get stuff done really, use libraries that are:
- In use by others
- Have excellent support and documentation
- Are being actively developed and maintained
- Clever people (possibly authorities on the topic) have written or similar people endorse.
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK