Hello,
I want to view images from different users, so they are saved in different directories.
I placed this code in the Body in CC.
In the second row php echo's my users perfectly ($test variable) but the mysql_query won't work. Maybe this is not possible, I don't know🙂
Thanks for your help.
I want to view images from different users, so they are saved in different directories.
I placed this code in the Body in CC.
<td><img src="images/joomgallery/thumbnails/
<?php
$test="{user}";
$result = mysql_query("SELECT * FROM yaeth_joomgallery_catg
WHERE name='".$test."'");
while($row = mysql_fetch_array($result))
{
$map=$row['catpath'];
}
echo "$map"; ?>/{foto1}" height="120" width="160" /></td>
<td><?php
echo "$test"; ?><td>
<td>
In the second row php echo's my users perfectly ($test variable) but the mysql_query won't work. Maybe this is not possible, I don't know🙂
Thanks for your help.