echo '<script type="text/javascript" src="../play.js">player_update(); creature_update();</script>';
I am trying to make these two scripts run when the data from my ajax files echo it to the screen. any help?
Ex: index.php sends data to .js file then js file sends the information to the servers php file which then returns the above script and runs the functions.