• Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

PHP How do you compare two different values in PHP-MySQL?


New Coder
I am having one field stated "Value1"

Value1 Field must be multifield value. So it should allow multiple values in it.

I need to compare the value with another value and need to calculate the percentage calculations among them.

I want to use only PHP-MySQL for solving this problem.

Kindly check the image of the respective problem we are facing.