hasjem Posted May 8, 2010 Share Posted May 8, 2010 I want the script to change some values in a mysqldatabase when clicked. but in this way it doesn't work the echostatements inside the onclick doesn't work either. what should be changed? thanks lex Quote Link to comment https://forums.phpfreaks.com/topic/201110-phpmysql-doesnt-work-inside-onclick-what-will-work/ Share on other sites More sharing options...
Alex Posted May 8, 2010 Share Posted May 8, 2010 You can't use PHP like this, you'll need to use AJAX. Quote Link to comment https://forums.phpfreaks.com/topic/201110-phpmysql-doesnt-work-inside-onclick-what-will-work/#findComment-1055096 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.