Last 5 registered members.
#10

Ok, im using a html page to show everything, and i included this code in my html page (full code):

Код:
		
		 <?php $query = mysql_query("SELECT * FROM `dsb_user_profiles` ORDER BY `id` DESC LIMIT 5");
while($row = mysql_fetch_assoc($query))
{
    $admin = $row['_user'];
    $querya = mysql_query("SELECT * FROM `dsb_user_photo` WHERE `_name` = '$admin'");
    while($rowa = mysql_fetch_assoc($querya))
    {
        $image = $rowa['photo'];
    }
    echo "$admin<br>";
    echo "<img src=\"$image\"><br>";
}   ?>
But i dont get why it shows just:
"; echo "
"; } ?>"

Whats wrong?
Reply


Messages In This Thread
Last 5 registered members. - by Face9000 - 17.10.2013, 11:30
Re: Last 5 registered members. - by Konstantinos - 17.10.2013, 11:36
Re: Last 5 registered members. - by Face9000 - 17.10.2013, 11:44
Re: Last 5 registered members. - by Konstantinos - 17.10.2013, 11:47
Re: Last 5 registered members. - by Face9000 - 17.10.2013, 11:50
Re: Last 5 registered members. - by tyler12 - 17.10.2013, 12:04
Re: Last 5 registered members. - by Face9000 - 17.10.2013, 12:39
Re: Last 5 registered members. - by tyler12 - 17.10.2013, 12:50
Re: Last 5 registered members. - by gtakillerIV - 17.10.2013, 13:03
Re: Last 5 registered members. - by Face9000 - 17.10.2013, 18:29

Forum Jump:


Users browsing this thread: 1 Guest(s)