Not Quite what I am needing...
This is a revision of the code I was using which was on the adopt page with the last version...
Code:
//Defines what level is used for mature count and number of babies user may adopt
$query = "SELECT * FROM adopts_owned_adoptables WHERE currentlevel < '5' and owner='$loggedinname' and isfrozen='no'";
$result = mysql_query($query);
$num = mysql_numrows($result);
if($num >= 5){
$article_title = "Your companions have you busy!";
//$article_date = date('Y-m-d');
$article_content = "<b>You have too many young companions! Please <a href='myadopts.php'>help your young companions reach age 5 or higher</a> before
adopting new companions.</b>";
}
You can see I have made some revisions but it is not working. I currently have it on the adopt.php page above the output for adoptables content as I had on the last version.
Sea