i m doing on the system ordering fastfood. all the ordering records are urgent and should be refresh everytime the customer order. and it should be refresh automatically without the admin have to click on refresh button on the menu bar. is it possible to do that in php? but how?
Hi, you can do this with a standard http header. In php you can use the header() function, like this: header("Refresh: 2; url=".$PHP_SELF.$someparam);
bye bye
hello, sorry but i m confused with the '$someparam' u mentioned. do u mean the variables such as $name, $id... please correct me!
I assume, though don't know, that he means the query string, comme ca
header("Refresh: 2; url=".$_SERVER["PHP_SELF"]."?".$_SERVER["QUERY_STRING"];
Hope that helps,
ucbones