I see, in this case the gender is indeed 'f' instead of 'female', but it may not be the problem. Make sure you have an adoptable object that is actually in the item function you create. Use var_dump() on $adopt to see whether it does exist, if it exists the problem may be with your update query.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site.
|