Location: PHPKode > projects > WH Community > wh_community/notice.php
<?php

	$sql = "SELECT
				id,
 				notice
			FROM
				notice
			WHERE
				id = '1'";
	
	$result = mysql_query($sql) OR die(mysql_error());
    $row = mysql_fetch_assoc($result);
    
	if(!$row) {
	
    echo '<p>' . $lang['no_announcements'] . '.</p>';
				  
		}else{
		
		echo '' . nl2br(stripslashes($row['notice'])) . '';
		}

?>
Return current item: WH Community