Problems with database methods in a class

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

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

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

Tue Oct 02, 2012 12:27 pm

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 3 guests