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

  • Home
  • SEARCH
  • 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 1037661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:52:41+00:00 2026-05-16T14:52:41+00:00

I hope somebody could help me out, I have no idea how to solve

  • 0

I hope somebody could help me out, I have no idea how to solve this problem.

so first, here’s a php array: http://pastie.org/private/s99d8w7cbhjd2yucdijw

if i do print_r for mysql ID=1, it would be like that: http://pastie.org/private/5b9n86dnxlp96afpiwvjeg

now i’m pushing data to javascript:

var sec_0_f = [];
<?php foreach ($action_events["2nd"]["0"]["Free"] as $key => $value) : ?> 
sec_0_f.push('<?php echo $value; ?>');
<?php endforeach ?

and so on..

Array contains messages, which varies each time, depends on mysql ID call. However, I would need to make some sort of a sequence. So message would display in #notice ( http://pastie.org/private/ge5ceqpihkbl82hs3ya3g ). And then each #notice would trigger an animation, so #notice animation1, #notice animation2 etc, depends on number of messages.

So there would be max 20 javascript arrays filled with data..
Here comes the needed “system”, which is splitted into 2 sections. So the 1nd one would sequentaly display 2 “Free” and 1 “Corner” message in #notice and each will trigger the function, but not in the exact order, if you know what i mean. For each messages of  “Free”, “Corner” etc, I have premade functions. Names of functions are “Event”+”Team”+”Number”.
Here’s example: http://pastie.org/private/9j6rcf5f8lb5jmegbbqtog

(would actually need to put some callback there, when it’s done..). But for each mysql ID, the same function would need to be grabbed.. So I’m thinking about creating additional field under each ID which some data and make sure that each time calls the same..

Sorry for a long message, but I’ve been trying to come up with something for days, without success. Does anybody have any idea how should I approach this? Did I take the right method to do this?

  • 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-16T14:52:42+00:00Added an answer on May 16, 2026 at 2:52 pm

    If I get it right, is this (click for demo) what are you trying to do?

    It basically fills the actions in an array (like you do in php), then steps in that array, takes the first object and display it, then waits a second, then goes to step into the next object, and so on till all the actions are sequentially displayed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following problem/doubt that I hope somebody could help me with. Let's
Hi guys! Hope somebody could help me to solve one small issue. I have
I hope somebody can help work out to do this. Basically, I have a
Hope somebody could help me out, I am trying to find a solution for
Hope someone could help me with this: I would like to have a column
HI, I hope somebody can help me here with the extjs framework. The problem
I need some advice here, I hope somebody can help me. I have the
I would be really grateful if somebody could help me out with this.. I
I got some problems with my patterns. Hope somebody could help me with this.
I hope somebody can help here, its an ongoing issue with no obvious solution.

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.