Added a comma after each msgnum exported. The parser was globbing them all together...
[citadel.git] / ctdlphp / readmsgs.php
1 <?PHP
2         include "ctdlheader.php";
3         bbs_page_header();
4
5         list($num_msgs, $response, $msgs) = ctdl_msgs($_REQUEST["mode"],
6                                                         $_REQUEST["count"] );
7
8         echo "num_msgs: " . $num_msgs . "<BR>\n" ;
9         echo "response: " . htmlspecialchars($response) . "<BR>\n" ;
10
11         if ($num_msgs > 0) foreach ($msgs as $msgnum) {
12                 display_message($msgnum);
13         }
14
15 ?>
16
17 <BR>
18 <a href="welcome.php">Page One</a><BR>
19 <a href="page3.php">Page Three</a><BR>
20
21 <?PHP
22         bbs_page_footer();
23 ?>