View Single Post
  #10  
Old 04-18-2009, 08:21 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 12,770
BMR777 is on a distinguished road
Default RE: Freezing and limiting adoptables

For this:

PHP Code:
$query "SELECT * FROM adopts_owned_adoptables WHERE currentlevel < '5' and owner='$loggedinname' and isfrozen='no'";
$result mysql_query($query);
$num mysql_numrows($result); 
Add after:

PHP Code:
echo "Number: ".$num."<br>"
At the top of the screen you should see Number: and then the number of adoptables that match that query. Is the number greater than 5 or does a number even appear?
Reply With Quote