i am facing some issue in PHP.
i have some records against blood report. That are simple some are possitive and some are Negative. i just want to now that from total records. What is the percentage of total Possitive records in my database in Php.

Thanks in Advnace.
Regards Xffi

Let's avoid you feeling beat up over the lack of detail. No one can code this for you since so much was not told.

That out of the way, why not start with you write a query for 3 things?

  1. Total number of records.
  2. Records with negative.
  3. Records with positive.
    Show those results. I would do this first since we have to know what happens if there are records that are not positive or negative.