PHP Change Formula to Image Formula

i have simple formula in PHP like this
<?php
$r = ((($vector[$i][0] - $c1[0]) ** 2) + (($vector[$i][1] - $c1[1]) ** 2)) / 2
?>
I want to change that variable formula to image formula like this one
is it possible to make it happen in php?
Thanks
Answer
Solution:
For those kinds of mathematical formulas, there is a library calledMathJax
, use that library, storing your formula in the database, and also displaying your formula.
For converting and storing that kind of formula there is software by the name ofMathType
.
FMI please visit the below links:
http://docs.mathjax.org/en/latest/
https://readthedocs.org/projects/mathjax/downloads/pdf/latest/
MathType:
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: undefined array key
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.