Export data from mysql table row into an array format
- by user1804952
I am trying to output data from
table : artists
row : artist
into this format.
Artist Names can have special characters and there are over 16k of them.
It needs to be written to a file. called anything artist.php for example
$Artist = array(
"Name from database",
"Name from database",
"Name from database",
"Name from database",
"Name from database"
);
ok sorry for not explaining. do this for ajax auto complete.. so i need to create a file with this array in it.
here is the exact script
http://www.brandspankingnew.net/specials/ajax_autosuggest/ajax_autosuggest_autocomplete.html