PHP simple question.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
olimpus
Forum Newbie
Posts: 1
Joined: Thu Nov 17, 2011 10:30 am

PHP simple question.

Post by olimpus »

Hello. I need a page that will do some query into a db and then display an image and some info based on the query results. (simple) But i want to display the page and after 30 seconds to refresh the page or redirect it. How can i do that? Thank you.
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: PHP simple question.

Post by Eric! »

Javascript. You can use php to echo the specific javascript depending if you want to refresh or redirect.
Post Reply