Chris Boget wrote:
Let me start by saying there is nothing wrong with the above and it's
doing exactly what the OP needed. However, when I use variable
variables, I prefer to use the following notation:
${$foo}
It makes the coder's intention clear and makes it so that it can't be
mistaken
Barry wrote:
Fernando Anchorena wrote:
Barry wrote:
Fernando Anchorena wrote:
Fisrt thx to all for yours answers, I'm updating the mail because in
hte last mail I'didn express my self correctly :
EXAMPLE
page1.php
===
form action=/page2.php?form=yes
echo $$foo
Let me start by saying there is nothing wrong with the above and it's doing
exactly what the OP needed. However, when I use variable variables, I
prefer to use the following notation:
${$foo}
It makes the coder's intention clear and makes it so that it can't be
mistaken for a
Chris Boget wrote:
echo $$foo
Let me start by saying there is nothing wrong with the above and it's
doing exactly what the OP needed. However, when I use variable
variables, I prefer to use the following notation:
${$foo}
It makes the coder's intention clear and makes it so that it
Let me start by saying there is nothing wrong with the above and it's
doing exactly what the OP needed. However, when I use variable
variables, I prefer to use the following notation:
${$foo}
It makes the coder's intention clear and makes it so that it can't be
mistaken for a possible typo
5 matches
Mail list logo