unemployment Posted October 29, 2010 Share Posted October 29, 2010 How do I post data when a user clicks a link? I know that for a submit button you just use the name attribute, but I'm not sure how to do it with a link. Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted October 29, 2010 Share Posted October 29, 2010 You can put data on the URL which the receiving script would find in the $_GET array. The only way to get the data into the $_POST array would be to use AJAX. Ken 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.