using a php variable in the WHERE clause of a mysql query

     
        $query2= "SELECT * FROM extras where OMEX_CAT ='". $value. "'";
        $result2=mysqli_query($conn, $query2);
  

Comments

Popular posts from this blog

Real-Time Web Interface to MQTT using Socket.io and Node.js

Insert session variable into MySQL database

Insert CheckBox and Radio button Data in MySQL Database Using PHP