Good, understood.

To deepen (for me):

why does this:
echo '<p>$_POST[\'SNGstep\']='.var_dump($_POST['SNGstep']).'^</p>'."\n";
spit out:
"NULL
<p>$_POST['SNGstep']=^</p>"

while this:
echo '<p>$_POST[\'SNGstep\']=',var_dump($_POST['SNGstep']),'^</p>'."\n";
spits out:
"<p>$_POST['SNGstep']=NULL
^</p>"

?

I think it must be related to something Maciek was showing in his excellent example, but I am too green to see.


On Aug 25, 2008, at 7:48 AM, Thiago Melo de Paula wrote:

Govinda,

please, consider the following code:

<?php
$brandA = 'Porshe';
$brandB = 'Jaguar';

$testA = $branA . $brandB; //testA will have the value PorsheJaguar

$testB = $branA , $brandB; //Returns a Parse error: syntax error, unexpected
',' in /test.php on line 7
?>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to