Placing and array within an array then sorting it!


Posted on 16th Feb 2014 07:03 pm by admin

I have a page that runs two large mysql queries and saves the results into arrays, in php I then perform a simple multiplication between the two arrays and the results is displayed in a dynamic html table.

However, what I need to do is rather than display this in a table I need it saved in another array that can then be sorted in different ways and limit the table to the top 40 results.

Can anyone point me in the right direction?

No comments posted yet

Your Answer:

Login to answer
281 Like 28 Dislike
Previous forums Next forums
Other forums

help finding hacking loopholes
i was attacked by a redirect php injection

my pc is clean of viruses

so i figure that

Need help in Generating Combinations
Need help generating all possible combination of names in an array

Lets say i have the follow

While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess

split string
Hi all

i have some names (imploded by comma):
Code: toronto,paris,madrid
Now, i would

Streaming local file from PHP while it’s been written to by a CURL process
I am creating a simple Proxy server for my website. Why I am not using mod_proxy and mod_cache is a

SESSION CHECK WORKS "MOST" of the time... whats going on?
i have a sign in check thats included in every page that is a members only page which is basically a

=> and <=
So I was digging through some code when I came across the <= operator. This is the first tim

update post issues
I am trying to create an update to a post function, while the update does occur, the page routing an

What makes a script your own?
If someone finds a login script online, and changes some variable names around and some other minor

Checking BOM Authorization Group
Hai Friends,

I have developed a mulitilevel BOM display report. End users have been assig

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash