Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/10/2013, 11:24
alruca41
 
Fecha de Ingreso: septiembre-2013
Mensajes: 18
Antigüedad: 10 años, 7 meses
Puntos: 0
Pregunta realizar una consulta

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..