CariDotMy

 Forgot password?
 Register

ADVERTISEMENT

View: 2451|Reply: 3

PHP/Mysql Camna nak buat camni

[Copy link]
Post time 13-4-2013 12:12 PM | Show all posts |Read mode
Aku ada table - antara fieldnya ialah category, sales, date

Aku nak buat table camni:

January
February
March
April
A
B
C
D
A
B
C
D
A
B
C
D
A
B
C
D
5
4
3
1
4
5
1
1
4
1
9
5
2
4
3
1

Camna ya? Dan yang month tu, dia display sampai current month aja start januari


Reply

Use magic Report


ADVERTISEMENT


Post time 13-4-2013 01:35 PM | Show all posts
baca kat e-book je
lama nak ajar ni, baik baca
Reply

Use magic Report

Post time 24-4-2013 09:49 PM | Show all posts
Apa ni? Tak faham. Dan jelas . Kalo boleh jelskan ngan lebih details.
Reply

Use magic Report

Post time 14-5-2013 12:43 PM | Show all posts
kalau nak guna MySQL sahaja.. guna SUM(IF(field) = bla..bla..., 1, 0)) AS ....
atau ko guna array dlm PHP
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

 

ADVERTISEMENT


Forum Hot Topic

 

ADVERTISEMENT


 


ADVERTISEMENT
Follow Us

ADVERTISEMENT


Mobile|Archiver|Mobile*default|About Us|CariDotMy

29-12-2024 01:03 PM GMT+8 , Processed in 0.120513 second(s), 17 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

Quick Reply To Top Return to the list