Gayner Posted August 31, 2009 Share Posted August 31, 2009 topic title says it bcz i just want to use $_POST['mbuy'] whenever i click something i dont want to haveĀ multiple forms? possible? Quote Link to comment Share on other sites More sharing options...
prasanthmj Posted August 31, 2009 Share Posted August 31, 2009 The browser has to post the mbuy to some script. Where will you mention that 'action' URL if there is no <form>? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted August 31, 2009 Share Posted August 31, 2009 You would need to use a button in a URL and use a GET variable to provide a value to your form processing code - <a href="form_processing_code.php?mbuy=some value"><button type="button">Click Me!</button></a> Quote Link to comment 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.