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
>
>
> 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 deali
Hi
On 5/5/05, Jon M. <[EMAIL PROTECTED]> wrote:
> 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;
I think you can do like this inside a class
var $variableName;
> But there doesn't seem
Jon M. wrote:
> 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) that covers this. All they s
4 matches
Mail list logo