nec9716 Posted April 4, 2008 Share Posted April 4, 2008 I have 2 buttons one submit and one clear form I want to add a 3rd ( close form page ) one which will send me to my main page my page is a .PHP page but my button are in a html part <td colspan="2" align="center"><input name="submit" type="submit" value="<?php echo $value?>"> <input name="reset" type="reset" value="Clear Form"></td> Link to comment https://forums.phpfreaks.com/topic/99468-solved-add-new-button/ Share on other sites More sharing options...
nec9716 Posted April 4, 2008 Author Share Posted April 4, 2008 oupppsss....I have found what i was looking for ... <input type="button" value="Click Me!" onClick="location.href='.....thml';"> Link to comment https://forums.phpfreaks.com/topic/99468-solved-add-new-button/#findComment-508941 Share on other sites More sharing options...
stuffradio Posted April 4, 2008 Share Posted April 4, 2008 Ahh congrats, I was just posting something but I was making it more complicated! At least you solved it though Link to comment https://forums.phpfreaks.com/topic/99468-solved-add-new-button/#findComment-508942 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.