rekkia Posted May 22, 2007 Share Posted May 22, 2007 Hey um I need help with my page: http://www.milesotile.ca/rekkia/createre.php Okay well I got that part down, but I have a few errors and I dont know how to fix it, such as well I want a user to pick a pet out from a bunch which are on that page (currently 2) then it will bring them to a new page where it will look like this: http://www.milesotile.ca/rekkia/Makemelooklikethis.php (This is done in html only) The problem is I dont know much about rado buttons and how to rasmit from one half of the script to the next. Hopefully someone can help me with this problem I would appericate it alot. -Thanks for reading Quote Link to comment https://forums.phpfreaks.com/topic/52511-can-someone-please-help/ Share on other sites More sharing options...
spode Posted May 22, 2007 Share Posted May 22, 2007 First off, to get the information you need on the second page FROM the first, use it as a form. (Which I'm assuming you have already done.) Just make sure you include, name="whatever", inside the option tags. (To go along with value= and such.) Then on the next page you can just use $_POST['dragon'] or whatever. A good way to tell the browser which options to show. (Like if they chose dragon, show dragon colors. Or if they chose the other thing, show those colors) You could put all of that script inside of an 'if' statement. So name the option of pet choosing 'pet' or something (on the original page). Then have the script on the second page say something like <?php if ($_POST['pet'] == "dragon") { show dragon form } else { show other thing } ?> Hope this helped. I am still yet a newb. =/ Quote Link to comment https://forums.phpfreaks.com/topic/52511-can-someone-please-help/#findComment-259356 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.