Quote:
After clicking the button, the url becomes "site.com/levelup/breed/breeding", and of course "breeding" is not a valid adopt id. Is there any way to make it "site.com/levelup/breed/insertaid/breeding" or "site.com/levelup/breeding"?
|
hmmmm ....
maybe ... try this
PHP Code:
$breedingForm = new Form("breedingform", "/{$adopt->getAdoptID()}/breeding", "post");