RE: Multiple adopt pages?
I guess I could do that, too, but I'd really like to be able to have different pages. If it doesn't work out, I'll try that way too
Wow, it worked! Thank you so much for helping, both of you!
And it didn't work...
The page and everything works (not the admin panel, but I'm using pngs so I have to edit it directly in PHPmyAdmin anyway), but when I click on adopt, it tries to adopt the other pet with the same number.
This means if I were to adopt pet 3 on adopt2.php, it would adopt my other pet 3. I'm working on a way to get around this... Any tips?
I'm so sorry, I must be being annoying.. xP
Well now I've got further - I've managed to make it so when you click 'adopt' on the page 'adopt2.php', though it won't take you to the right page, if you enter it in the url, it will show the right image for the pet, and let you adopt it.
However, when you actually look at it, there's a little x.
Thank you again so much for helping!
I've found my problem - in most files, it's looking at the database adoptables, not both adoptables2 and adoptables...
PHP:
$query = "SELECT * FROM ".$prefix."adoptables WHERE type = '$name'";
I don't know how I can let it select form both adoptables and adoptables2. Could you please help?