Version: 1.0

Type: Sample Code (HOWTO)

Category: Other

License: Other

Description: A wireless php pages maker for event list or classifieds list



<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN">
<wml>
  <card>
<card id="MainCard" title="WeSellAg.com">
<?

$ads = fopen("service.txt", "r");

print "<p align=center>";
print "<b><big>Services</big><br/></b>";
while (! feof($ads)) :

         $ad = fgets($ads,4096);

         $ad_info = explode("|", $ad);

         print "<b>$ad_info[0] </b>";
         print "$ad_info[1] <br/> <br/> ";

      endwhile;
print "</p>";

fclose ($ads);
?><a href="#MainCard">Menu</a><br/>
<a href="http://your.com">Home</a>
</card>
</wml>