View file wap_snapshot/wap_list_cats.php

File size: 439B
<?php
session_start();
include('wap_common.php');
wapheader();


$sql="SELECT cat_id , cat_title, cat_order FROM phpbb_categories ORDER BY cat_order";

$result= $db->sql_query($sql);

start_card("id7","Select Category");

while($row = $db->sql_fetchrow($result)){
    print ("<p><a href=\"wap_list_forums.php?cat=" . $row['cat_id'] . "\">" . $row['cat_title'] . "</a></p>");
}

end_card();
print("</wml>");



?>