Login #1
@ -111,7 +111,6 @@ class BancaDati {
|
||||
$where .= $col . "=" . "'" . $v . "'";
|
||||
}
|
||||
$sql = "SELECT * FROM ".$table." WHERE ".$where;
|
||||
var_dump($sql);
|
||||
if(isset($order["by"])){
|
||||
$sql .= " ORDER BY ".$order["by"];
|
||||
}
|
||||
@ -121,7 +120,6 @@ class BancaDati {
|
||||
try {
|
||||
return $this->pdo->query($sql);
|
||||
}catch (PDOException $e){
|
||||
var_dump($e);
|
||||
die;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user