PHP OOP properity constant usage
- by Misiur
Hi there.
I'm really new to OOP. I'm even not a newbie - I'm noob. So. I want to transfer my pseudo-CMS from "normal" programming, into OOP programming system. And so:
private static $dsn = DB_TYPE.':host='.DB_HOST.';dbname='.DB_NAME;
What here causes problem? Usage of constraints? I don't know. My editor (aptana studio) shows error after 1…