Query-sql-add-a-table








Query-sql-add-a-table


Query-sql-add-a-table


Query-sql-add-a-table

the last of the SQL

Query sql how to add a certain table in this example the product table contains two catagorias costs and quantity of product these two will be added to show a total result of an inventory,


Query-sql-add-a-table


<?php $rs = mysqli_query($MySQLConnection,"SELECT SUM(cantidad*costo) as costototal FROM `producto`"); $x=1; while($row = mysqli_fetch_object($rs)){ $row->costototal=utf8_decode(htmlspecialchars_decode($row->costototal)); echo"<h5>Costos ".$row->costototal."</h5>"; $x++; ?>


SQL


Enrique Rojas


Web Designer and Positioning Consultancy
Passionate about sharing quality content that can improve your life.
Boost visibility on the web for valuable searches on Google.



About the Author

SQL the best news about this category SQL

Offerjops
16 stars - based on 216 reviews