jwk811 Posted April 5, 2010 Share Posted April 5, 2010 i wanna pass post variables to a function without having to submit a form, how? Link to comment https://forums.phpfreaks.com/topic/197692-pass-post-variables-without-form/ Share on other sites More sharing options...
smerny Posted April 6, 2010 Share Posted April 6, 2010 where are you getting the values for these post variables? how does the page get loaded? link? button? Link to comment https://forums.phpfreaks.com/topic/197692-pass-post-variables-without-form/#findComment-1037492 Share on other sites More sharing options...
hellrising Posted April 6, 2010 Share Posted April 6, 2010 The best way would be to put your veribles into a hidden form and then exicute it with an 'onload' or 'onclick' javascript function or use AJAX to submit without leaving the page Link to comment https://forums.phpfreaks.com/topic/197692-pass-post-variables-without-form/#findComment-1037495 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.