title: PHP, MySQL Dynamic Maths
body: <p>I am trying to find out a way to do maths dynamically. I want to be able to add a formula to MySQL and then solve it in PHP and display the answer. </p>
  
  <p>So I'll save it like <code>getItemPrice(10) * getItemPrice(50)</code> However I'm unsure how to execute functions in PHP if its saved like that. </p>
  
  <p>I thought about splitting the date but I want to be able to do more advanced formulas then that. I have no idea how to do this to be honest...</p>