khalen Posted April 6, 2008 Share Posted April 6, 2008 Hi guys ... please forgive the simplicity and stupidity of this question. I cant find a relevant onclick command to simply sent user to another page. Please can you offer a suggestion. All I want to do is get user to click 'Theory Training' button and go to 'theory.php' page. <html> ...... <input type="button" value="Theory Training"> <?php onclick = "theory.php"; ?> ......... </html> Link to comment https://forums.phpfreaks.com/topic/99807-solved-embaressly-asking-simple-question/ Share on other sites More sharing options...
papaface Posted April 6, 2008 Share Posted April 6, 2008 1. This is not PHP 2. You are doing this completely wrong. <form action="theory.php" method="POST"> <input type="submit" value="Theory Training"> </form> Thats what you need. Link to comment https://forums.phpfreaks.com/topic/99807-solved-embaressly-asking-simple-question/#findComment-510447 Share on other sites More sharing options...
khalen Posted April 6, 2008 Author Share Posted April 6, 2008 like i said embaressingly simple question when you know. Thanks soooo much it works of course!! Link to comment https://forums.phpfreaks.com/topic/99807-solved-embaressly-asking-simple-question/#findComment-510448 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.