Click here to Skip to main content
       

Web Development

 
GeneralRe: XSLT Transforms - how to get just some of in a for-each [modified] PinmemberQuickBooksDev17-Dec-12 0:42 
GeneralRe: XSLT Transforms - how to get just some of in a for-each PinmemberChris Grove17-Dec-12 3:43 
GeneralRe: XSLT Transforms - how to get just some of in a for-each PinmemberQuickBooksDev17-Dec-12 4:55 
GeneralRe: XSLT Transforms - how to get just some of in a for-each PinmemberChris Grove17-Dec-12 5:43 
QuestionPop Up JQuery Quick Link PinmemberJaniel Major5-Dec-12 22:02 
AnswerRe: Pop Up JQuery Quick Link Pinmembervbmike7-Dec-12 4:09 
AnswerRe: Pop Up JQuery Quick Link Pinmemberryanb3112-Dec-12 4:41 
Question[HELP] Whois can using PHP to generate this one? Pinmemberjimmy.suharry4-Dec-12 21:37 
I've some data, there are
 
RealData Balance 	 Sort by Desc
A  684 	 345 		 A  684 
B  60 	 -   		 E  308 
C  -   	 -   		 J  302 
D  -   	 -   		 I  273 
E  308 	 - 		 O  178 
F  -   	 -   		 H  140 
G  11 	 -   		 B  60 
H  140 	 - 		 N  27 
I  273 	 - 		 Q  22 
J  302 	 -   		 R  20 
K  -   	 -   		 P  14 
L  -   	 -   		 G  11 
M  -   	 -   		 C  -   
N  27 	 -   		 D  -   
O  178 	 38 		 F  -   
P  14 	 -   		 K  -   
Q  22 	 -   		 L  -   
R  20 	 4   		 M  -   
 
Description
Proc = Process
Res = Result
Sort by Desc
 
Get 8 row data 														
Proc 1  Res 1 	Proc 2  Res 2 	Proc 3 	 Res 3 	 Proc 4  Res 4 	 Finish for 8 row data
A  684  657 	A  657  635 	A  635 	 621 	 A  621  610 	 A  610  	
E  308  281 	E  281  259 	E  259 	 245 	 E  245  234 	 E  234 	
J  302  275 	J  275  253 	J  253 	 239 	 J  239  228 	 J  228 	
I  273  246 	I  246  224 	I  224 	 210 	 I  210  199 	 I  199 	
O  178  151 	O  151  129 	O  129 	 115 	 O  115  104 	 O  104 	
H  140  113 	H  113  91 	H  91 	 77 	 H  77 	 66 	 H  66 	
B  60 	 33 	B  33 	11 	R  20 	 6 	 B  11 	 -   	 R  6 	
N  27 	 -   	Q  22 	-   	P  14 	 -   	 G  11 	 -   	 B  -   	
Q  22 	 22 	R  20 	20 	B  11 	 11 	 R  6 	 6 	 G  -   	
R  20 	 20 	P  14 	14 	G  11 	 11 	 P  -    -   	 P  -   	
P  14 	 14 	G  11 	11 	Q  -   	 -   	 Q  -    -   	 Q  -   	
G  11 	 11 	N  -    -   	N  -   	 -   	 N  -    -   	 N  -   	
C  -    -   	C  -    -   	C  -   	 -   	 C  -    -   	 C  -   	
D  -    -   	D  -    -   	D  -   	 -   	 D  -    -   	 D  -   	
F  -    -   	F  -    -   	F  -   	 -   	 F  -    -   	 F  -   	
K  -    -   	K  -    -   	K  -   	 -   	 K  -    -   	 K  -   	
L  -    -   	L  -    -   	L  -   	 -   	 L  -    -   	 L  -   	
M  -    -   	M  -    -   	M  -   	 -   	 M  -    -   	 M  -   	
 
Result 	 1 	 27 
Result 	 2 	 22 
Result 	 3 	 14 
Result 	 4 	 11 
 
Total 1		 74 (For 8 row data)
 

 
Get 4 row data 														
Proc 1 	 Res 1 	 Proc 2  Res 2 	 Proc 3  Res 3 	 Finish for 4 row data
A  610 	 411 	 A  411  376 	 A  376  347 	 A  347  345 
E  234 	 35 	 O  104  69 	 O  69 	 40 	 O  40 	 38 
J  228 	 29 	 H  66 	 31 	 H  31 	 2 	 R  6 	 4 
I  199 	 -   	 E  35 	 -   	 J  29 	 -   	 H  2 	 -   
O  104 	 104 	 J  29 	 29 	 R  6 	 6 	 J  -    -   
H  66 	 66 	 R  6 	 6 	 E  -    -   	 E  -    -   
R  6 	 6 	 I  -    -   	 I  -    -   	 I  -    -   
B  -   	 -   	 B  -    -   	 B  -    -   	 B  -    -   
G  -   	 -   	 G  -    -   	 G  -    -   	 G  -    -   
P  -   	 -   	 P  -    -   	 P  -    -   	 P  -    -   
Q  -   	 -   	 Q  -    -   	 Q  -    -   	 Q  -    -   
N  -   	 -   	 N  -    -   	 N  -    -   	 N  -    -   
C  -   	 -   	 C  -    -   	 C  -    -   	 C  -    -   
D  -   	 -   	 D  -    -   	 D  -    -   	 D  -    -   
F  -   	 -   	 F  -    -   	 F  -    -   	 F  -    -   
K  -   	 -   	 K  -    -   	 K  -    -   	 K  -    -   
L  -   	 -   	 L  -    -   	 L  -    -   	 L  -    -   
M  -   	 -   	 M  -    -   	 M  -    -   	 M  -    -   
 
Result 	 1 	 199 
Result 	 2 	 35 
Result 	 3 	 29 
Result 	 4 	 2 
		
Total 2 	 265 (For 4 row data)
 

 
How to get this data using Query or Function? And how to using in PHP?
Please help!
 
Thank you.
Jimmy
AnswerRe: [HELP] Whois can using PHP to generate this one? PinmemberS.M. Zamshed Farhan12-Jan-13 5:54 
QuestionTool for big WEB project with huge loads PinmemberJunoli2-Dec-12 9:37 
AnswerRe: Tool for big WEB project with huge loads PinmemberRichard A. Abbott2-Dec-12 10:47 
Questionselect an item in gridview Pinmemberptvce2-Dec-12 1:50 
AnswerRe: select an item in gridview PinmvpRichard MacCutchan2-Dec-12 3:00 
Questioni php question Pinmembergamaan1-Dec-12 4:00 
AnswerRe: i php question Pinmembergamaan1-Dec-12 4:03 
AnswerRe: i php question PinmemberS.M. Zamshed Farhan12-Jan-13 6:03 
QuestionHTML PinmemberDivyamS30-Nov-12 19:35 
AnswerRe: HTML PinmemberS.M. Zamshed Farhan15-Jan-13 4:21 
Questionthe protocol 'net.pipe' is not supported-WCF Pinmembermallikharjuna22128-Nov-12 0:50 
AnswerRe: the protocol 'net.pipe' is not supported-WCF PinmemberRichard A. Abbott28-Nov-12 1:38 
GeneralRe: the protocol 'net.pipe' is not supported-WCF Pinmembermallikharjuna22128-Nov-12 2:34 
GeneralRe: the protocol 'net.pipe' is not supported-WCF PinmemberRichard A. Abbott28-Nov-12 3:11 
Questionhow to get data when using header('location:'.$url) ??? Pinmemberaa_zz26-Nov-12 4:27 
AnswerRe: how to get data when using header('location:'.$url) ??? PinmemberS.M. Zamshed Farhan15-Jan-13 4:24 
QuestionWeb technologies PinmemberJunoli25-Nov-12 11:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 17 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid