<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[kick ban utente in chat]]></title><description><![CDATA[<blockquote>
<h2>salve vorrei modificare uno script in modo che caccia l'utente in chat e lo direzione sulla index ho preso quello già esistente e ho modificato url e mem posto lo script chiedo aiuto grazie ( il 2 è l'utente 1 admin )</h2>
<p dir="auto">function displayChat(){<br />
id = &lt;?php echo $id; ?&gt;;<br />
$.ajax({<br />
url: 'member.php',<br />
type: 'POST',<br />
async: false,<br />
data:{<br />
id: id,<br />
mem: 2,<br />
},<br />
success: function(response){<br />
$('#chat_area').html(response);<br />
$("<a href="/hashtags/chatarea">#chat_area</a>").scrollTop($("<a href="/hashtags/chatarea">#chat_area</a>")[0].scrollHeight);<br />
}<br />
});<br />
}</p>
</blockquote>
<hr />
<pre><code class="language-php">include('session.php');    if(isset($_POST['mem'])){        $id=$_POST['id'];                $memq=mysqli_query($conn,"select * from chat_member left join `user` on user.userid=chat_member.userid where chatroomid='$id'");        while($memrow=mysqli_fetch_array($memq)){            ?&gt;            &lt;div class="well" style="height: 100px;"&gt;                        &lt;span&gt;&lt;?php echo $memrow['uname']; ?&gt;&lt;/span&gt;            &lt;button class="btn btn-warning "&gt;Kick&lt;/button&gt;                        &lt;/div&gt;&lt;br&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/topic/239556/kick-ban-utente-in-chat</link><generator>RSS for Node</generator><lastBuildDate>Fri, 27 Nov 2026 02:35:12 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/239556.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Dec 2019 13:57:10 GMT</pubDate><ttl>60</ttl></channel></rss>