Ok, I need help with two problems in the following set of code:
$query="select * from `$album_id` where id='$id_count'";
$res=mysql_query($query) or die("Error");
$row = mysql_fetch_assoc($res);
$filename=$row[filename];
echo $res;
echo $filename;
echo"<br>";
$file="$group_name \ $album_name \ $filename";
echo $filename;
echo"<br>";
echo" <img src='$file'>";
my first problem is that I am having trouble with echo $res is giving me a Resoultion ID # instead of the contents, (I know I asked about this just recently, but the solution at that time does not seem to work here)
the second problem is that I want $file to store the contents of the 3 varibles, plus the slashes, but without the spaces, so for the only way I could get it to list the contents of the varibles plus the slashes is with the spaces in the string
thanks,
campsoup1988
PS: $album_id
is the correct access to the table