// *********************************************************************** // File forum.html programmed by : irfani@gmail.com // *********************************************************************** include "template1.php"; atas ("22"); ?>
|
if ($send) {
//$topic_message = nl2br(strip_tags($topic_message));
$pesan_topik=strip_tags($pesan_topik);
$sql2 = "SELECT * FROM forum_topik WHERE judul_topik='$judul_topik' OR isi_topik='$pesan_topik'";
$result2 = mysql_query($sql2) or die("gagal query");
$num = mysql_numrows($result2);
if ($num == 0) {
$ada = "0";
}
else {
$ada = "1";
echo " ". mysql_error ().""; } } ?> |