drentwo Posted February 25, 2009 Share Posted February 25, 2009 I'm a bit new to this forum, but I need help with a php script that I need as soon as I can get it. We wrote some code that returns results like document.write( 1 #A 1 #B 7 #Hi 1 #D 5 #Croom 1 #C 2 #Bordom ); I need a php script to go to http://myurl.com:8000/blah.js?identify=id1, get those results, and create a table that orders like so. #Hi 7 #Croom 5 #Bordom 2 #A 1 #B 1 #C 1 #D 1 but in a neat table. Any help would be appreciated. Thanks -Drentwo Link to comment https://forums.phpfreaks.com/topic/146818-create-ordered-table-using-javascript-results/ Share on other sites More sharing options...
gevans Posted February 25, 2009 Share Posted February 25, 2009 You need to use ajax, a mixture of javascript and php. You're mixing server side and client side, which is fine if you run the server side first, but the other way round it will not work Link to comment https://forums.phpfreaks.com/topic/146818-create-ordered-table-using-javascript-results/#findComment-770922 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.