hasanatkazmi Posted August 10, 2007 Share Posted August 10, 2007 I want to transfer/send information from one page to another page, Is there any ohter method except post and get to do so- secondly, how can i use a hyperlink to submit a form Link to comment https://forums.phpfreaks.com/topic/64321-solved-methods-to-send-information-using-php/ Share on other sites More sharing options...
Psycho Posted August 10, 2007 Share Posted August 10, 2007 1) You can also use session data and cookies 2) <a href="#" onclick="document.formname.submit();">Submit Form</a> Link to comment https://forums.phpfreaks.com/topic/64321-solved-methods-to-send-information-using-php/#findComment-320659 Share on other sites More sharing options...
hasanatkazmi Posted August 10, 2007 Author Share Posted August 10, 2007 thnks this would help. Link to comment https://forums.phpfreaks.com/topic/64321-solved-methods-to-send-information-using-php/#findComment-320670 Share on other sites More sharing options...
hasanatkazmi Posted August 10, 2007 Author Share Posted August 10, 2007 i have this form <form name="log" action="<?php echo $_SERVER['PHP_SELF']?>" method="post"> Email: <input type="text" name="email" maxlength="40"> Password <input type="password" name="pass" maxlength="50"> <a href="#" onclick="document.log.submit();">Submit Form</a> </form> but this submit link didnt work, plz help Link to comment https://forums.phpfreaks.com/topic/64321-solved-methods-to-send-information-using-php/#findComment-320678 Share on other sites More sharing options...
Psycho Posted August 11, 2007 Share Posted August 11, 2007 Hmm... Can you elaborate on "this submit link didnt work".? Did you receive any errors (e.g. yellow triangle in the bottom left of the page)? Did it do absolutely nothing? It works for me. Do you really have [/url] at the end of that link or did the forum do that? Link to comment https://forums.phpfreaks.com/topic/64321-solved-methods-to-send-information-using-php/#findComment-320868 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.