elad135 Posted April 23, 2011 Share Posted April 23, 2011 Hi, I'm quite new to PHP and I'd like to know if there's a way for me to use some PHP solution to get data from another PHP file instead of used AJAX. My intention is to have some kind of a loop in one PHP file that'll have a variable that gets the returned data from a different PHP file on every iteration and does something with it. Would be simple enough to do it with Ajax but I can't use it in this instance. Any thoughts? Link to comment https://forums.phpfreaks.com/topic/234513-transfer-data-from-one-php-file-to-another/ Share on other sites More sharing options...
elad135 Posted April 23, 2011 Author Share Posted April 23, 2011 Never mind. I found a workaround Link to comment https://forums.phpfreaks.com/topic/234513-transfer-data-from-one-php-file-to-another/#findComment-1205217 Share on other sites More sharing options...
fugix Posted April 23, 2011 Share Posted April 23, 2011 what is your solution? Link to comment https://forums.phpfreaks.com/topic/234513-transfer-data-from-one-php-file-to-another/#findComment-1205269 Share on other sites More sharing options...
Fadion Posted April 23, 2011 Share Posted April 23, 2011 You'll need SESSIONS to achieve that, but most probably you've figured that out already. Link to comment https://forums.phpfreaks.com/topic/234513-transfer-data-from-one-php-file-to-another/#findComment-1205368 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.