Code: Select all
$this->sql = "SELECT * FROM $this->tableMaster";
try{
$results = $this->hookup->query($this->sql);
while($row = $results->fetch_assoc()){
printf("id is %s and the name is %s " . $row['id'] , $row['name'] , $row['lang'] );
echo "<br>";
}
is the query run in the following line ??
Code: Select all
$results = $this->hookup->query($this->sql);Code: Select all
while($row = $results->fetch_assoc()) ????