forumnz Posted May 9, 2009 Share Posted May 9, 2009 I'm using Javascript with PHP. How can I return success:true to the JS fro the PHP. It is queried using AJAX. Thanks by the way, I tried return {success:true}; Link to comment https://forums.phpfreaks.com/topic/157535-solved-how-to-return-success-true/ Share on other sites More sharing options...
gevans Posted May 9, 2009 Share Posted May 9, 2009 Not 100% sure what you're trying to do, some code would help (more than return(success:true) Link to comment https://forums.phpfreaks.com/topic/157535-solved-how-to-return-success-true/#findComment-830608 Share on other sites More sharing options...
Ken2k7 Posted May 10, 2009 Share Posted May 10, 2009 Bad syntax dude. return '{success: true}'; ? Link to comment https://forums.phpfreaks.com/topic/157535-solved-how-to-return-success-true/#findComment-830611 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.