|
Posted by maya on 06/11/06 20:24
Super_Lopez wrote:
> maya ha comentado:
> > I'm new to php.. and I would like to know, please, why is
> > there a '.' sometimes before '='.. what is this for [..]
>
> This is for link together (concatenate[1]) the previous content
> in that var with the current assignment.
>
> About the variables, you can use simple quotes (') instead of
> double quotes ("), and then you won't see expanded this variables.
> These, and a lot of other concepts, are clearly explaind in the
> php docs[2].
>
>
> [1] http://www.php.net/manual/en/language.operators.assignment.php
> [2] http://www.php.net/manual/en/language.types.string.php
>
> Regards.
muchas gracias Super Lopez! :)
I understand now how this works..
echo "$x<br>";
since you don't escape '$' php knows it's a variable (how does it know
when var name ends though.. since here there's no space between end of
var name and the rest..) will certainly look at urls you suggest..
again muchas gracias....
Navigation:
[Reply to this message]
|