
14/10/2013, 11:24
|
| | Fecha de Ingreso: septiembre-2013
Mensajes: 18
Antigüedad: 11 años, 6 meses Puntos: 0 | |
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.. |