avatar
Untitled

mollejita 140 3rd Apr, 2020

                                           
                         <div class="chat">
	<?php 
		
		$reponse = $bdd->query('SELECT pseudo, message FROM messages ORDER BY ID DESC LIMIT 10');
		while ($donnes = $reponse->fetch())
		{ 
	?>
				<div class="bloc">
				<p class="pseudo"><?php echo strip_tags($donnes['pseudo'])?>:<br/></p>
				<p class="message"><?php echo strip_tags($donnes['message'])?><br/></p>
				</div>
	<?php	
		}
		$reponse->closeCursor();
	?>
</div>
                      
                                       
To share this paste please copy this url and send to your friends
RAW Paste Data

Comments

Authentication required

You must log in to post a comment.

Log in
    There are no comments yet.
Recent Pastes