Hi again,
Here comes an example which cofuses me regarding ' and " characters. I have a dirctory photos which lies where test.php script lies and under photos dir, there is a file 24.jpg
<?php
$images_dir = "photos";
$filename = "24.jpg";
echo "<br>";
echo '".$images_dir. "/tb".$filename."';
echo "<br>";
echo "<br>";
echo "<img src='".$images_dir. "/tb".$filename."' /> File";
?>
The output is as follows:
".$images_dir. "/tb_".$filename."
and a 24.jpg picture in the brower appears.
My question is why I don't see the real values of variables when I echo those but in
echo "<img src='".$images_dir. "/tb_".$filename."' /> File";
these variables are replaced with real values and I can see the picture.
thanks
regards
/rsasalm