Quote:
Originally Posted by Hall of Famer
Well actually you can delete the breeding navlink from admin control panel. Also to answer your first question, this can be done easily be modifying adopt.php and doadopt.php slightly. There is a line that generates random gender in doadopt.php, delete it and add a dropdown gender selection script to adopt.php. This can be done with PHP forms, use $_Post in doadopt.php at the beginning of script to get the selected gender from adopt.php. This way you make gender selectable rather than random.
|
Thank you! I've done all of that except now I can't figure out exactly where to place the $_POST or how it should be worded.
I've used $gender = $_POST["gender"]; and the same thing with GET instead of post, in a few different sections, including right underneath
$id = $_GET["id"];
$promocode = $_GET["promocode"];
$name = $_GET["name"];
I've also changed the form action to 'post' instead of 'get', but nothing is working.
Where should I put it?