Hello friends, in my community lavalair I am trying to create the function to add a photo when I create a private room but I have a problem, the image is in public and also each new room that you create to and sovvrapporre the new image on the other, anyone can help me? This is my code,
$rooms = mysql_query("SELECT id, name, pass, pic FROM ibwf_rooms WHERE static='0'");
$co=0;
while ($room= mysql_fetch_array($rooms))
{
$ilink = trim($room[3]);
if($ilink=="")
{
}else{
$ilink = "<img src=\"$ilink\" alt=\"*\"/>";
}
{
if($room[2]=="")
{
echo "$ilink <br/>";
}else{
echo "</form>";
}
}
}
thanks to anyone help me