Hello ,
I am using frames. The main frame will have the following command at the beginning of my code;
session_start();
session_register('count');
// increment count
$count++;
echo $count;
Session works great. The number increases per refresh, which will automatically advance to the
next reord since I then use $count in $query = ("SELECT * FROM myimagexx where ID=$count");.
I then set up links to other pages which also use the session_start() command. These two pages
are in two frames, left frame and main frame.
Here are the links;
print '<a href="votemenu5.php" target="leftFrame">5>></a>';
print '<a href="votemenu4.php" target="leftFrame">4>></a>';
How can I get both pages to refresh at the same
time so that the $count++ increases on both of them without using the refresh button on the
I.E. browser?
If I click on a link from the main frame, the number will only increase on the page in the left
frame.
Any assistance would be helpful. Please also note that this is really not a mysql/php question. I was recommended to post my inquiry here from those other forums.
Thanks,
KJ