Re: [PHP] How to declare Vars in PHP?

2005-05-05 Thread Marek Kilimajer
Jon M. wrote: I know it's not necessary, but I still want to know how. I know in JavaScript, that you declare vars like so: var = variableName; So I'm assuming that in PHP you do it like this: var = $variableName; the above is wrong. you can declare variable inside class definition using (php4):

[suspicious - maybe spam] [PHP] How to declare Vars in PHP?

2005-05-04 Thread Jon M.
I know it's not necessary, but I still want to know how. I know in JavaScript, that you declare vars like so: var = variableName; So I'm assuming that in PHP you do it like this: var = $variableName; But there doesn't seem to be a single shred of documentation on PHP.net (or in ANY book)