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 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. 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
Archived
This topic is now archived and is closed to further replies.