Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

PHP Launcher -> Web News.

Junior Spellweaver
Joined
Oct 9, 2007
Messages
151
Reaction score
15
made it today coz i was borred as hell. some1 might find it usefull.
by using the script adding news on the launcher (Via SMC) will result in them being
posted on ur web aswell:
PHP:
         $getNews = mssql_query("select * from _notice order by id DESC");
         
     echo "<table border ='1'><tr><td color = 'red'><font color = 'red'><U><B>Subject</U></B><font></td><td><font color = 'red'><U><B>Message<font></U></B></td><td><font color = 'red'><U><B>Post Date (GMT +2)</U></B></font></td></tr>";
         while ($row = mssql_fetch_array($getNews)) {
          echo "<tr><td>";
          print $row['Subject'];
          echo "</td><td>";
          print $row['Article'];
          echo "</td><td>";
          print $row['EditDate'];
          echo "</td><tr>";
         
         }
         
    echo "</table>";
PHP?>

make the SQL connection urself, aint gonna do anythin there so ppl wont cry about it "not being secured" later on.


p.s YES i know its a very simple code, but heh, i saw much more simple things being released here ^_^

Like if i helped.
 
Last edited:
Back
Top