View Single Post
  #2  
Old 07-07-2012, 01:43 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 49,084
Nemesis is on a distinguished road
Default

open your adopts.php and make a copy of it. maybe call it class.php depending on what class you want it to be. then find the code that access the sql database and edit it. your looking for SELECT * which tells the database to select all hence the *. Then it will say FROM which should follow your database name or the variable for it. Then it will say WHERE which is very import this is the condition statement. it will only select the rows that match that statement so simply make it WHERE class = w/e class you want.

its a poor explanation but thats how you do it.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote