the thing is poll application has alot of codes so i am thinking if i can either create a new interface or use existing within my application , i dont know the answer
<iframe src ="poll/index.php" FRAMEBORDER=0 width="100%" height="300">
<p>Your browser does not support iframes.</p>
</iframe>
user id fetching code
$query = mysql_query("SELECT * FROM pm_users where username = '".$userdata['username']."'");
$rows = mysql_num_rows($query);
$r = mysql_fetch_array($query);
now the trouble is how do i send userid when the button within iframe is clicked
CWS (haripriya)
where you want to send the userid?
how about storing the userid in a session variable? you can access the userid from the session variable in all your pages.
mattibutt
ASKER
hi cyber
i have found another poll which i am able to include on my page but i am having problem with posting, i think this poll is not for me if you are online let me know then i will post
Open in new window