I want to get array format from mysql database.
Example,Let I have name table.
Name Table
Id name
1 jone
2 smith
3 waiyan
I want to get this data array form.
$name=array('jone','smith','waiyan');(//I want to get this format)
How can get this result? I am beginner for php.Please answer me.Thank your contribute.
Sorry for my english.
Something like this:
See: mySQL PHP