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?

281 Like 28 Dislike
Previous php-forum Next php-forum
Other php-forum

Simultaneous select/update/insert
Hi

How would I need to go about when 2 users update a single row simultaneous? And how would

Change Web page language
i doing this thing first time but i dont find any suitable solution for it. On the demand of user. I

session variables not working anymore
hello,
i use sessions to handle authentication within my site. my host has been changing a lot of

How do i use vars in an array
Hiya peeps!

How do I use a var in an array. You will see $id but it isnt working.


Calling strings from other php class
I have test1.php{
$string1;
$string2;
....
... //10 strings in this class <

Adding post count
How would I make it so everytime someone clicks submit on my form, their row in the database for the

Get Total From While Loop
I'm trying to get the total for each product and add them for a Grand Total to list outside the loop

Where is my php.ini???
Hi

First off - apologies - i'm not a coder so this may sound very amateur.

I'm having

TimeStamp Column Problem...
I'm mad at my self and thinking I'm a little retarded. It just be some one mistake I'm missing here.

Count of reciepients in php mailer
How can i sent a mail to large no of reciepients say 10,00,00 Using PHP MAILER

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