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

Ajax Error since Upgrading to 3.5
Ever since upgrading my site to .NET 3.5 (I needed LINQ), I've been getting this annoying error on o

The page should be expire when cilck back button
hi,
i'm new to php world.
i create user registration page.
when i submit it,data goes to my

php or sql?
Sorry not sure if this is a sql problem or php the following code is supposed to delete data from th

Can anyone give me some link on .htaccess tutorial
i wish to have friendly url using .htaccess, but no idea yet about this

Hope that anyone cou

Help with PHP Email Script
Hi guys,

I'm a newbie to php and need help with the script below:

At the moment when I

How do I send data using an html link
Hi

If I have
<a href="main_file.php">

How do I send data t

displaying email without attracting a ton of spam
Hello,

this is maybe the wrong place to ask.
How would you display an email address on a w

Regular expression tips or resources
Hello! I'm having some issues implementing the appropriate regex patter to eliminate unwanted charac

Solution to the FindControl problem
I have seen may posts about having problems with the FindControl method. Most seem to come about bec

Replacing a string on click of a button
Hi! Is there a way to replace a string on a click of a text link?

This is what I've come up w

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