Code: Select all
<?PHP
include("dbinfo.inc.php");
mysql_connect(localhost,$username,$password);
@mysql_select_db($database) or die( "Unable to select database");
$fetch = mysql_query("SELECT * FROM table LIMIT 0, 10") or
die(mysql_error());
?>
but what i want is to pull records only if a particular field in that row is not empty.
how do i do this?
thanks