Jump to content

passing a variable


limitphp

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.