You can't archieve this with PHP alone... PHP runs in the web server, what the user see runs on the web browser (after the web server serves it).

You can't expect to have that kind if interactivity between the browser and the web server without further programming in some sort of conduit between the two...

The conduit can be programmed in tons of ways, but the more simple would be to have php just generate the pages and add javascript in the page to control what the user see at each time. Of course, some alternative mean must be assembled for the case where javascript is turned off...

Cheers,
Luis Ferro

lordpuma wrote:

I am fairly new to php and am having an issue with creating pages "on the
fly" that is not loading an html page but creating them from under php. what
I need to do is  this:

function createpage1(){
//make page here
}
return();

function createpage2(){
//make page here
}
return;

//main loop
createpage1();
//delay for 10 secs
createpage2();
exit;
what I need is for page 1 to show up then after the time out the window
clear and have page 2 show up. I can get them to both show up at the same
time in the same window but how do I make it look like it has loaded 2
pages.

Jon








-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to