Data from database
I need some help i am using this code in my profile-loop.php file and it does the job it echos out all the data from my check boxes (Sector) section in the database.
$platforms = xprofile_get_field_data('Sector'); $data = xprofile_format_profile_field('checkbox', $platforms); echo $data;
this is the data that i get outputted ,
“Manufacturing, Bio science, Public sector, Transport/logistics, Environmental”
(Which is great because these are my check boxes within the Sector section).
The problem im having is. Its all just one big block off text i need to wrap a list element around each individual one for styling.
- Bio science
- Public sector
Could anyone tell me how to do this?
- The topic ‘Data from database’ is closed to new replies.