Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7411417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:23:00+00:00 2026-05-29T06:23:00+00:00

I have a table comment as follow: Comment comment_id cmt followupid 1 Hello 3

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:23:01+00:00Added an answer on May 29, 2026 at 6:23 am

    The following code should give you some hints.

     $result = mysql_query($runquery);
     while($row=mysql_fetch_assoc($result)){
          // $row contains a single row.
          echo $row['cmt'], $row['comment_id']
     }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hello all I have a table comment as follows commentid cmt followupid category 1
I have the following query that really kills performance and want to know what
I have a table called BlogPost which has a 1-to-many relationship with the Comment
I have one table that saves comments for a varied set of content types.
Ok I have a table in my SQL Server database that stores comments. My
hey guys I have the follow code in js: $(document).ready(function(){ $(.replyLink).click(function(){ $(#form-to-+this.id).html(htmlForm()).toggle(500); return false;
I have 4 tables (appointed, class, elected, status) that I want to cross reference
I have a follow up to complicated mysql question that I recently asked: Show
I have a table (session_comments) with the following fields structure: student_id (foreign key to
Let's say I have two tables: Report Comment And assuming I have a database

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.