Changeset 2 for frontend.php
- Timestamp:
- Nov 25, 2008, 9:41:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
frontend.php
r1 r2 1 1 <?php 2 3 2 3 function show_article($type) { 4 global $database; 5 $Query = $database->select('article', '*', 'type = '.$type); 6 while($DbRow = $Query->fetch_array()) 7 { 8 echo '<div id="article"><b>'.$DbRow['name'].'</b><br> '.$DbRow['text'].'</div>'; 9 } 10 } 11 4 12 ?>
Note:
See TracChangeset
for help on using the changeset viewer.