Aptana Posted August 20, 2009 Share Posted August 20, 2009 First off, if this is in the wrong forum please feel free to move it. I had a look around and this seemed like the most logical place. I have been learning PHP with MySQL for about 2 weeks now, and I am starting to find I can do most things. But now I'm looking for a nice MySQL class to use with PHP to simplify and cut down on my redundant code. I have found a few via Google: http://www.micahcarrick.com/04-19-2005/php-mysql-database-class.html http://slaout.linux62.org/php/index.html The first one doesn't work correctly (I get an unexpected $end error) and the second one looks FAR too complex for what I need it for... I just want to be able to connect to a database, select a table and run queries on that table. If anyone knows a good class for this I'd very much appreciate your help. Thank you! Quote Link to comment Share on other sites More sharing options...
corbin Posted August 21, 2009 Share Posted August 21, 2009 The coding in both of those classes is pretty bad.... The one from slaout.linux62.org is, to be honest, quite terribly coded. (Well, it's not coded that bad... Just designed badly.) To be honest, based on your needs, it sounds like mysql_* should be fine.... Have you looked at mysqli or pdo? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.