Problems with database methods in a class

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: Problems with database methods in a class

Post by seandisanti » Tue Oct 02, 2012 11:29 am

I've gone through those same examples recently. the database.php requires config.php in the first line. That brings in the constants.

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: Problems with database methods in a class

Post by seandisanti » Tue Oct 02, 2012 12:27 pm

at least you learned it now rather than working on a big project.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests