KodiTiger
12-27-2010, 03:19 AM
I've done some googling and have come across some information, but I'm not quite sure how to apply it to my problem.
I have a PHP page saturna.php with six frames on it using the frameset commands. I would like to somehow make it so that when I click on something in one frame (with one PHP page loaded in it - game.php), it automatically/dynamically updates one of the other PHP pages (inventory.php) in another frame. What will happen is when the thing is clicked on in game.php, an entry will be added to the database, and the second PHP page (which retrieves information from the database) will notice that there is a new relevant record, and will add it to the inventory.php page in the table I have constructed there.
From my googling it seems I need to use JavaScript to do this, but I'm not quite sure how - any ideas :) ?
Thanks very much!
I have a PHP page saturna.php with six frames on it using the frameset commands. I would like to somehow make it so that when I click on something in one frame (with one PHP page loaded in it - game.php), it automatically/dynamically updates one of the other PHP pages (inventory.php) in another frame. What will happen is when the thing is clicked on in game.php, an entry will be added to the database, and the second PHP page (which retrieves information from the database) will notice that there is a new relevant record, and will add it to the inventory.php page in the table I have constructed there.
From my googling it seems I need to use JavaScript to do this, but I'm not quite sure how - any ideas :) ?
Thanks very much!