comptech520
03-03-2006, 09:48 PM
Hello Again,
Here is something else I am trying to echo
On this line: $img = "<img src=\echo $photo_dir";
I want to echo the path thats listed under $photo_dir, but its set up wrong.
Me and my syntax errors :eek:
= preg_replace("/[^0-9]/", "", $_GET['img']);
$img .= $_GET['img'].".JPG\" alt=\"\" />";
echo $img;
?>
Here is something else I am trying to echo
On this line: $img = "<img src=\echo $photo_dir";
I want to echo the path thats listed under $photo_dir, but its set up wrong.
Me and my syntax errors :eek:
= preg_replace("/[^0-9]/", "", $_GET['img']);
$img .= $_GET['img'].".JPG\" alt=\"\" />";
echo $img;
?>