Jump to content

Recommended Posts

hello all,  I have a table comment as follow:

 

**Comment**

 

comment_id        cmt              followupid

1                Hello              3

2                hi                4

3                Hey                2

4                wassup            1

 

My query is that I want to echo "Hello", "hi", "hey" , "Wassup" and other (the record continues) individualy, I have used

 

$comment = mysql_result($runQuery, $i,"cmt");

echo $comment;

 

which works fine but the problem is that it echoes all the comments at once, what I want is to echo all the comment but one at a time.  the comment are in  a div tag such that each the div appears only after 1 second the page is loaded. I want each comment to appear after different time interval

 

for e.g:

 

Hello  to appear at        5pm    (not necessarily the corect time it can be just an int)

hi                        5.10 pm

hey                        6.30 pm

 

Please Help!

 

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.