prepare($sql);
$stmt->execute();
//$count = $stmt->rowCount();// DOES NOT WORK
//$count = $stmt->fetch(PDO::FETCH_OBJ); and for loop works
echo " select query worked";
//echo " row count" . $count;
/*** echo number of columns ***/
/*** loop over the object directly ***/
echo "