Well the problem may be with the $aid in the where clause. As I said before, this was just a rough example. It assumes that your adoptables id are stored in variable $aid, if the variable name is not $aid, or that you aint using adoptables id to fetch information, you will need to modify the where clause.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
|