Thread: One Type Limit
View Single Post
  #4  
Old 07-22-2009, 10:14 PM
Ashje Ashje is offline
Member
 
Join Date: Jan 2009
Posts: 179
Credits: 15,577
Ashje
Default RE: One Type Limit

*bump*
Because I still don't understand how to do this. If anyone has the time, could you please write a function called "canadoptstarter" with just the regular canadopt function but with this in there as well:
PHP Code:
$query "SELECT * FROM adopts_owned_adoptables WHERE kind = 'starter' AND owner='$loggedinname'";
$result mysql_query($query);
$num mysql_numrows($result);

if(
$num >= 1){
$canadopt "no";} 
Reply With Quote