In message <[EMAIL PROTECTED]>, Gregory Fox <[EMAIL PROTECTED]> writes > >Hi All, > >I have been scanning the Internet high and low looking for a class or series >of functions to connect to a MySQL DB and most MySQL statements. I have >found a couple, but I'm sure there others that are more easier to work with. > > >In my previous applications, I just wrote the statements as I needed them. >Now I like to standardize my apps. > >What have you been using or did you write your own class?
Both! I now use db_mysql class, which I have modified a lot. I extracted the sections re username, password, and other site specific settings, so that I no longer have to change the main pass for new jobs. I have added a section to the query so that it notifies the user that there has been a problem, sends me an email when there is a SQL error, and takes an email address of anyone who wants to know when the error is fixed. It will also (depending on an optional parameter in the query call) send me an email when a query returns no rows, but this time it doesn't echo anything on screen. But as it stood originally, db_mysql was very useful. -- Pete Clark http://www.hotcosta.com http://www.spanishholidaybookings.com The PHP_mySQL group is dedicated to learn more about the PHP_mySQL web database possibilities through group learning. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php_mysql/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
