Saludos! amigos! ayudenme sobre el filtrado de OpenDNS, como hago para filtar las paginas?,,,,, gracias!
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú
.opciones{
margin-top: 2em;
margin-bottom: 5em;
margin-left: 1em;
margin-right: 5em;
padding: 5px;
font-size: 15px;
text-decoration: none;
overflow: scroll;
width: 5%;
height: 100px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
outline: none;
background-color: white;
background: -moz-linear-gradient(#bcbcbe, #ffffff); /*Degradado*/
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
border: 1px solid #b6c3f8; /*Color del borde del box*/
-webkit-box-shadow: 1px 1px 0px #5370e1; /*Sobra del Box para firefox*/
-moz-box-shadow: 1px 1px 0px #5370e1; /*Sobra del Box para chrone, safari*/
box-shadow: 1px 1px 0px #5370e1; /*Sobra del Box*/
}
Persona:
-cedula <pk>
-apellidos
-nombres
-sexo
-estadocivil
cuenta:
-numero <pk>
-cedula <fk>
-tipocuenta
-fechacreacion
movimiento:
-idmovimiento<pk>
-idtipo <fk1>
-numero <fk2>
-fecha
-monto
tipomovimiento:
-idtipo <pk>
-nombre
Desarrollar un Disparador que compruebe que no se hagan mas de dos retiros por un monto mayor a 1000 BsF.
select to_char((sum(monto)),'999,999,999.99') from clientes
12,000.00
valor1 = 12,000.00
valor2 = 0
class Controlador extends CI_Controller
{
public function index()
{
$data = array();
$data['variable'] = "Hola Mundo Como estas???";
$this->load->view('vista',$data);
}
public function imprimir()
{
$html = $this->load->view('vista','',true);
echo $html;
}
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Prueba PDF</title>
</head>
<body>
<h1><?php echo $variable; ?></h1>
<a href="<?php echo site_url("controlador/imprimir") ?>">Imprimir</a>
</body>
</html>
Hola Mundo Como estas???
Imprimir
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: variable
Filename: views/vista.php
Line Number: 10
Imprimir
$html=$this->load->view('clientes',$data, true);
$html="<html><head></head><body>".$html."</body></html>";
$this->dompdf_lib->createPDF($html, 'myfilename');
$html=$this->load->view('clientes',$data, true);
Array
(
[0] => Array
(
[id_cliente] => 27
[padre] => Array
(
[0] => Array
(
[id_cliente] => 26
[padre] => Array
(
[0] => Array
(
[id_cliente] => 25
[padre] => Array
(
[0] => Array
(
[id_cliente] => 24
[padre] => Array
(
[0] => Array
(
[id_cliente] => 23
[padre] => Array
(
[0] => Array
(
[id_cliente] => 1
[padre] => Array
(
)
)
)
)
)
)
)
)
)
)
)
)
)
function formar($id, $arreglo)
{
$i = 0;
foreach( $arreglo as $aux )
{
$arreglo_aux[$i] = $aux;
$i++;
}
// consulto un dato, donde seleccione todos los registro con valor $id
if( consulto )
{
foreach( $consulta as $row )
{
$arreglo_aux[$i] = $row['id'];
$this->formar($row['id'], $arreglo_aux);
}
}
else
{
return $arreglo;
}
}
$arreglo = $this->formar($id,$arreglo);
-Gerardo
-German carlos
Maria de Perez
http://localhost/sistema/funcion/detalles/maria
http://localhost/sistema/funcion/detalles/German%20carlos
o
http://localhost/sistema/funcion/detalles/Maria%20de%20perez