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:
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.
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: