Changeset 283
- Timestamp:
- Sep 4, 2009, 1:37:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/global.php
r282 r283 42 42 $ID = $Database->SQLCommand('SELECT * FROM shoutbox ORDER BY ID DESC LIMIT 20'); 43 43 while($Line = mysql_fetch_assoc($ID)) 44 echo('<tr><td><strong>'.$Line['user'].'</strong>: '. $Line['text'].'</td></tr>');44 echo('<tr><td><strong>'.$Line['user'].'</strong>: '.htmlspecialchars($Line['text']).'</td></tr>'); 45 45 echo('</table></div>'); 46 46 }
Note:
See TracChangeset
for help on using the changeset viewer.