halm1985 Posted October 30, 2007 Share Posted October 30, 2007 Can PHP codes be embedded within javascript to perform some SQL statement upon and Javascript event ? Link to comment https://forums.phpfreaks.com/topic/75371-embedding-php-in-javascript/ Share on other sites More sharing options...
Psycho Posted October 30, 2007 Share Posted October 30, 2007 No, but you can use AJAX - i.e. use the Javascript to make a call to a PHP page which will return the results back to the JavaScript Link to comment https://forums.phpfreaks.com/topic/75371-embedding-php-in-javascript/#findComment-381232 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.