actually i am developing some game related to stock market in that i want to update some values periodically in database with the values stored in xml fomat whether the user is playing or not how can i do that
assign a cron job to your server to run the php script at an interval (or whatever kind of script you made).
If you are using a linux machine you can use cron for this Along with the time period call your script in the cron job You can try this using crontab -e in command line or using cpanel cron tasks Which calling php script make sure that you use your php path along with the script name some thing like /usr/bin/php -q /home/yourname/public_html/updateDB.php Thanks !!