What I need to do to populate an array,this is because i need to pull some records information from my MySQL database.
I have number of fields but instead of that want to fetch data for some field name only. And these are as follows:
Cust_id ¦ Cust_name ¦ Cust_loc
$name_ar = array(
'Cust_name1' => 'nickname1',
'Cust_name2' => 'nickname2',
'Cust_name3' => 'nickname3',
/* and on and on */
);
Please suggest how do i trigger or modify an Array to get the expected output.
Bookmarks