buenas tengo esta funcion para realizar select
protected function QuerySelect($orderBy = NULL){
if(!empty($this->name)){
$sql = "SELECT * FROM $this->name";
if($orderBy !== NULL){
$sql .= " ORDER BY $orderBy ASC";
}
$result = $this->cx->executeQuery($sql);
return $result;
}else{
return NULL;
}
}
ahora ocupo una pero que me realize insets..