limitphp Posted December 18, 2008 Share Posted December 18, 2008 I have a page that has a div in it. I make an ajax call to replace the contents of that div with another php page (artist_songs.php) whenever the user changes a form SELECT option. Is there a way the ajax page (artist_songs.php) can use a variable from the main page without passing it in a querystring in the ajax call? like a global variable or something? Link to comment https://forums.phpfreaks.com/topic/137599-passing-a-variable/ Share on other sites More sharing options...
setiawanh Posted December 24, 2008 Share Posted December 24, 2008 Maybe you can use the session variables to pass them around. Just a suggestion. Link to comment https://forums.phpfreaks.com/topic/137599-passing-a-variable/#findComment-722978 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.