Jump to content

PHP


vickkeshav

Recommended Posts

have a web base page where I want to generate records from my database one by one and at different time intervals. For example I have a table,

 

Comment

 

coment_id: 1 2 3 comment_message: "Hello", "Hi", "Bye"

 

on the page, the first comment is Hello is posted then after 10 secs Hi is automatically posted then after 5 secs Bye is automatically posted.

Link to comment
Share on other sites

I have one table say its name is: User

in this table there are 2 fields

User_id and User_name

 

User_id has 3 records so  do user_name  as shown below

 

user_id      |      user_name

 

1                        Tom

2                        harry

3                      ringo

 

 

Next thing is that I have a webpage and i need to retrieve these names automatically each and 10 seconds interval

 

That is if Tom appears on the page a  12.00  Harry appears at 12.10 and Ringo appears at 12.20

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.