I am working on a website and completely stuck on a paginator/editor... works perfect outside my framework... anyways... I decided to use Iframes
I need to pass a var from main page to an iframe region on same page.
When user is logged into wordpress:
global $current_user;
get_currentuserinfo();
I need to pass the variable of current_user to my iframe on a SQL query. It works outside the iframe but not within it.
So my iframe includes a php file and a sort function that states "INSERT INTO activitythree VALUES(NULL,'". $current_user->user_login . "','$date','$activity')"
I need current user to be pulled from main page that includes the iframe.
Any help would be appreciated.