View file magmail/magday2.php
<? require("functionChat.ssp"); openDB(); $sqlSel="select messtime,fromnick,messtype,messtext,num from letters where tonick='magday2' and fromnick='magday2' order by num asc"; $result=mysql_query($sqlSel) or die(mysql_error()); while ($row=mysql_fetch_row($result)) { echo "------------------------------------<br>\n"; echo "date=".date("d/m H:i ",$row[0])."<br>\n"; echo UnReplaceChar($row[3])."<br>\n"; } mysql_close(); ?>