lundi 29 juin 2015

Echo result of sql query in php

I have this sql query and I am trying to print / get the result.

$sql2="SELECT COUNT(*) FROM zones where routeID='15'";

The result is 3. How can I get this on my screen??

Aucun commentaire :

Enregistrer un commentaire