I have a same problem where read data from mysql and store it in an array.
I have table something like this
id engineering science language
_____________________________________________
1 chemical bio english
2 electrical chemistry malay
3 mechanical astronomy spanish
How to I read for example all the data from engineering and store it in an array? Can I do any hashing in PHP, or associative array already include this hashing function.
Please help.
A barebones example using MySQLi: