[Solved] Work out a percentage of a item set in array |
On my codeigniter project I have a user profile page
I can not work out the correct percentage there are 11 items in my list but only 10 items are set. Question: How can I work out the correct percentage for items that are set it should be at 90% or there abouts and if all 11 items are set would be 100% It's for a progress bar PHP Code: $this->data['profile'] = array( View PHP Code: <script type="text/javascript">
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
[Solved] Work out a percentage of a item set in array - by wolfgang1983 - 10-20-2016, 10:18 PM
RE: Work out a percentage of a item set in array - by salain - 10-21-2016, 12:18 AM
RE: Work out a percentage of a item set in array - by wolfgang1983 - 10-21-2016, 01:11 AM
RE: [Solved] Work out a percentage of a item set in array - by salain - 10-21-2016, 01:36 AM
|