Entradas

Mostrando las entradas de noviembre, 2017

Noviembre 8 de 2017

  Ejercicios de los manuales 33 y 34 Se realizó una evaluación Entrega de notas EJERCICIOS: 1. Ejercicio con imágenes: index.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> </head> <?php $mensaje = isset($_GET['mensaje'])?$_GET['mensaje']:""; if ($mensaje != ""){ ?> <script type="text/javascript">alert("<?=$mensaje;?>");</script> <?php }?> <body> <form id="form1" name="form1" method="post" action="guardar.php">   <table width="100%" border="0" cellspacing="0" cellpadding="0">    

Noviembre 1 de 2017

Imagen
ACUMULATIVO Realizado por: Valeria Rojas Orduz 10-A    Colegio Integrado Nuestra Señora del Divino Amor

Octubre 25 de 2017

Imagen
EJERCICIO PROYECTO DE AULA Código  HTML: <form name=”ejercicio” id=”ejejrcicio” method=”post” action=”ejercicio.php”> <br><br> numero <input id=”codigo” type=”text” name=”codigo” autocomplete=”off” required=”required” maxlength=”10″ minlength=”10″ title=”debe tener 10 caracteres” patern=”[0-9]+”><span><br><br> </select> <br><br> <input type=”submit” value= ” enviar ” ><form> ejercicio.php Código ejercicio: <?php $servidor = ‘localhost’; $base_datos = ‘ps_martinez_maria_10a’; $tabla = ‘minutero’; $usr_sistema = ‘root’; $pass_sistema = ”; $conexion=mysqli_connect($servidor, $usr_sistema, $pass_sistema); $b = $_POST[‘codigo’]; echo $b; $a = substr($b, 4,1); $c = substr($b, 5,1); $d = substr($b, 2,1); $e= substr($b,8,1); if($a==1 && $c==1) { $s=”enemigo”; $numero=$b; } if($e%2==0&&$d%2==0) { $s=”amigo”; $numero=$b; } if (!$conexion){ header (