Mysql fetch file size

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mysql fetch file size

    I have store file size as bit and i want to show it as mb with two decimal places. Could you please help me anyone to fix this..

    though i had put .row[$size]./ (1024*1024) this will show only mb value without decimal places.

    primary value is "id"

    #2
    PHP Code:
    round(row[$size]./ (1024*1024), 2

    Comment


      #3
      thanks bro worked 100% as expected.

      Comment

      Working...
      X