Colon(ectomy)
| From: | Dallas Kropka | Date: | Mon, 20 Nov 2000 20:29:49 +0000 |
| Subject: | Colon(ectomy) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26199@lists.php.net to get a copy of this message | ||
This is not urgent, I have fixed the problem, but I don't know why it was having a problem in
the first place and now its eating at me...
I had a class, and in the variable declarations, I had this line...
var $xdate = date(ymd) ;
Note the ";"..... well, when I went to use the script, it told me that there was NO COLON.
But, when I re-wrote the statement as such...
var $xdate ;
CONSTRUCTOR FUNCTION()
{
$this->xdate = date (ymd) ;
...
...
...
}
It works fine.... Why is this.
thanks,
Dallas K.