Monday, July 11, 2005

Variable interpolation

$name=”Tom petty”;
echo “my name is $name”;
?>

output:

my name is Tom petty ------------------------ variable interpolation


$name=”Tom petty”;
echo ‘my name is $name’;
?>

output:

my name is $name ------------------------ variable interpolation

0 Comments:

Post a Comment

<< Home