why not PDO ?
I was planning to add PDO support in the next update but to be honest I don’t quite see the point of it here as mysql_* functions are still commonly used and not everyone might have PDO installed (I’m not sure which versions of PHP come with it by default). But I’ll add it if you guys need it.
I updated the script to use PDO .
does it create methods and everything relative to the content of the database / tables or does it just allow database access… I don’t see any screen shots of it being used to called… would be nice to see.
It generates model class files for the given database. Check out this: http://demo.iber.co.uk/modelbuddy/#example
I disagree with your comment. Php have pledged to remove mysql_* in its entirety and replace it with mysqli/pdo
Usually those new or inexperienced with php would use mysql_*
Yeah I know that, but the 1st time I uploaded the script it got rejected (obviously not because of that but because the docs only included intro and sample code) and I quote the reviewer: “Most importantly, remember that buyers may not be technically inclined.” which doesn’t make much sense as this is something that is quite useful for those who know what they’re doing and why they need it and the rest just wouldn’t bother buying it
I use PDO in all of my projects but I just figured that mysql_* functions are like Internet Explorer – a major percentage of people use it even though it’s crap. I’ll add PDO support next week
Hehe, I guess you’re right. I can’t wait for mysql_* to be completely removed once and for all. Hopefully it’ll be a changing point for developers to actually learn PHP and not be so lazy
Good luck with the sales!
I was wondering if this script works with relationships between tables? e.g. MANY-TO-MANY relationships and ONE-TO-MANY relationships.
Unfortunately it doesn’t and to be honest I doubt I’ll be adding this feature any time soon.
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Unlimited graphic downloads & digital courses. Only $29/month
22,000+ templates & 1,000+ courses
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work