1- Try to move the connection out of the constructor. I would prefer to use a Database Wrapper that connects & disconnects.
2- you might as well make your class accept a dsn, which would make it easier in the future to abstract RDBMS, and it's 1 parameter instead of 4.

- Ammar


On 9/20/06, Al-Faisal El-Dajani <[EMAIL PROTECTED]> wrote:
Hey all,
I just wrote this class for database connectivity. Can somebody plz help in testing? Any ideas or suggestions would be great.

Thanx

PS: Requires PHP 5
--
Al-Faisal El-Dajani
Tel: +962-7-77 799 781
P.O Box: 140056
11814 Amman, Jordan




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Jordan PHP Users Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/JoPHP
http://Jolug.org/
-~----------~----~----~----~------~----~------~--~---

Reply via email to