title: how can i save values with arithmetic operators in mysql with php?
body: <p>I have a field datatype VARCHAR in mysql. 
  It has to save data like <code>495/1,495/2</code> but when i am running query from PHP it save in mysql like <code>495, 247.5</code>. so basically mysql divides the values. </p>
  
  <p>Then I have tried this</p>
  
  <pre><code>$sfno = $_POST['sfno']; // i am getting value from HTML form the value is 495/2    
  $sfno = explode("/",$sfno);
  $sfnom = "$sfno[0]"."-"."$sfno[1]";
  </code></pre>
  
  <p>then mysql subtract the values and save them as <code>494,493</code></p>
  
  <p>so how can i save arithmetic operators in mysql database?</p>
  
  <p><a href="https://i.stack.imgur.com/IRrcR.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IRrcR.jpg" alt="enter image description here"></a></p>