AceTutor
01 Jun 2006, 08:02 AM
Greetings - am a absolute newbie to PHP/MySQL and would appreciate kickstart help
I have attempted tutorial at DMX Zone but failed without success.
See http://www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=4937
Basic Setup:
Database: MySQL
id Name
0 Fruit
1 Banana
1 Pineapple
1 Kiwi Fruit
1 Apples
0 Vegetable
6 Tomatoes
6 Peas
6 Carrots
Output required:
Fruit
Apples
Banana
Kiwi Fruit
Pineapple
Vegetable
Carrots
Peas
Tomatoes
Requirement:
Depending on designated id, all items starting with 0 become bold category headings listed in alphbetical order and all associated products matching that category would be listed - also in alphabetical order.
A working code sample - or suggested tutorial sites would be greatfully received
Thanks in anticipation
Bless ya heaps
AceTutor
I have attempted tutorial at DMX Zone but failed without success.
See http://www.dmxzone.com/showDetail.asp?TypeId=2&NewsId=4937
Basic Setup:
Database: MySQL
id Name
0 Fruit
1 Banana
1 Pineapple
1 Kiwi Fruit
1 Apples
0 Vegetable
6 Tomatoes
6 Peas
6 Carrots
Output required:
Fruit
Apples
Banana
Kiwi Fruit
Pineapple
Vegetable
Carrots
Peas
Tomatoes
Requirement:
Depending on designated id, all items starting with 0 become bold category headings listed in alphbetical order and all associated products matching that category would be listed - also in alphabetical order.
A working code sample - or suggested tutorial sites would be greatfully received
Thanks in anticipation
Bless ya heaps
AceTutor