I have Webpage written using PHP that displays data from MySQL tables. I want my page to refresh after new records are entered to the database.
love_bug
0
Newbie Poster
Recommended Answers
Jump to PostThere is no way to refresh a page as and when the data is updated (Unless you wanted to set up some sort of AJAX check) but the easiest way of doing this is placing this code:
<?php header('Refresh: 5'); ?>
on the first line of your …
Jump to Postlove_bug>I have Webpage written using PHP that displays data from MySQL tables. I want my page to refresh after new records are entered to the database.
I think you want to fetch all data and paint on the page once new record is added. Itsn't it?
Where is …
All 8 Replies
samarudge
16
Posting Whiz
kvprajapati
1,826
Posting Genius
Team Colleague
OmniX
21
Practically a Master Poster
Josh Connerty
20
Unverified User
samarudge
16
Posting Whiz
OmniX
21
Practically a Master Poster
Josh Connerty
20
Unverified User
gelos
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.