daily pastebin goal
44%
SHARE
TWEET

view

a guest Jun 16th, 2013 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php foreach($chat as $chat_msg): ?>
  2.  
  3.     <div style="padding:10px; margin-bottom:10px; border-bottom:#999 1px dashed;">
  4.         <strong>Username: <?php echo HTML::chars($chat['user']); ?></strong><br />
  5.         <?php echo HTML::chars($chat_msg['chat_msg']); ?>
  6.     </div>
  7.  
  8. <?php endforeach; ?>
  9.  
  10. <div style="padding:10px;">
  11.     <form action="" method="post">
  12.         Username: <br />
  13.         <input name="user" type="text" /><br /><br />
  14.         Сообщение: <br />
  15.         <textarea name="chat_msg" cols="25" rows="5"></textarea><br /><br />
  16.         <input name="send" type="submit" value="Отправить" />
  17.     </form>
  18. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top