James Williams wrote: >>No >> >>You don't declare variables in PHP. You just start using them. >> >>Perhaps you mean assign? Since your example of >> >> var = variableName; >> >>is actually an assignment in Javascript. >> >>In PHP you simply do: >> >> $one_var = $another_var; >> >>-Rasmus > > > You are however, when dealing with OOP and classes required to declare > you're variable, right? You can, but you don't need to. Try it. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php