Thanks guys, it was the dollar signs after the "->" I knew it was something simple. Anywhoo, as far as being a class, it will have functions, but I thought better than to post the whole def.
-Brandon
Search found 2 matches
- Tue May 29, 2007 8:56 am
- Forum: PHP - Code
- Topic: problem with class properties not holding their value
- Replies: 6
- Views: 496
- Tue May 29, 2007 8:30 am
- Forum: PHP - Code
- Topic: problem with class properties not holding their value
- Replies: 6
- Views: 496
problem with class properties not holding their value
I'm stuck on this one, and I don't know why, maybe it has something to do with PHP 5 (I've written for 4 before). when I create an object and set the value of a particular class property, it changes all the properties. I'm sure it's something simple, but I just don't get it. //---CREATE PROJECT-----...