How can I show the current member's picture in chat ?

112 views
Skip to first unread message

Radyo Vengi

unread,
Feb 18, 2017, 7:36:01 AM2/18/17
to AJAX-chat


How can I show the picture of the  person who  enteredas chat member

Each member's picture is automatically saved in login / uye_avatarlar file.

I will show your member images on the main page like this


<?php require('./chat/lib/baglanti.php'); ?>
<div class="blue_title">Üyelerimizden Bazıları</div><br>
<?php $sql = mysql_query("SELECT * FROM uyeler ORDER BY rand() LIMIT 3"); while($oku=mysql_fetch_array($sql)){ ?>

        <div class="member_tab"> 
<?php if ($oku['resim']==''){?>
<img src="./login/imgeler/yy.jpg" width="108" height="78" class="photo" />
<?php } else { ?>
<img src="./login/<?php echo $oku['resim']; ?>" width="108" height="78" class="photo" />
<?php }?>
<div class="member_details"> <span><?php echo $oku['kulladi']; ?></span><br />
<p>Adı Soyadı: <?php echo $oku['adsoyad']; ?> </p>
<p>Şehir: <?php echo $oku['sehir']; ?> </p>
<p>Uyelik Tarihi: <?php echo $oku['tarih']; ?> </p>
</div>
        </div>
<?php } ?>



Cuore di angelo

unread,
Mar 6, 2017, 8:18:03 AM3/6/17
to AJAX-chat

for "photos" you mean "Avatar"?

Radyo Vengi

unread,
Mar 6, 2017, 12:54:07 PM3/6/17
to AJAX-chat
yes 

How can I show the current member's picture in chat ?

6 Mart 2017 Pazartesi 15:18:03 UTC+2 tarihinde Cuore di angelo yazdı:

Cuore di angelo

unread,
Mar 16, 2017, 9:34:01 AM3/16/17
to ajax...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages