Jump to content

nueva123

Members
  • Content count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

About nueva123

  • Rank
    Newbie
  • Birthday 11/11/1980

Profile Information

  • Gender
    Male
  • Location
    Mexico Country
  1. :rolleyes:people HiI need to insert a row into a table of my database, then here is a brief code as an example, anyone that would help me to resolve PLEASE <?php require_once('../Connections/elena.php'); ?><?phpfunction GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue; switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue;}$editFormAction = $_SERVER['PHP_SELF'];if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);}if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO boys(married, name) VALUES (%s, %s)", GetSQLValueString($_POST['married'], "int"), GetSQLValueString($_POST['name'], "text")); mysql_select_db($database_elena, $elena); $Result1=mysql_query($insertSQL,$elena) or die(mysql_error()."- Query -".$insertSQL); $insertGoTo = "index.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo));}?><!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=iso-8859-1" /><title>Process Example</title><style type="text/css"><!--body,td,th { color: #FFFFFF;}body { background-color: #0099CC;}.Estilo1 {font-family: Arial, Helvetica, sans-serif}.Estilo5 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; }.Estilo6 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }--></style></head><body><form method="post" name="form1" action="<?php echo $editFormAction; ?>"> <input type="hidden" name="MM_insert" value="form1"></form><form action ="<?php echo $editFormAction; ?>"method="POST" enctype="multipart/form-data" name= "form1" > <h1><span class="Estilo1">Title</span></h1> <fieldset id="married"> <input name="married" type="radio" value="Yes" id="married_yes" <?php $OK = isset($_POST["married"]) ? true : false; if ($OK && isset($missing) && $_POST["married"] == "Yes") { ?> checked = "checked" <?php } ?>/> <label for = "married_yes">Si</label> <input name = "married" type="radio" value="No" id="married_no" <?php if ($OK && isset($missing) && $_POST["married"] == "No") { ?> checked="checked" <?php } ?> /> <label for ="married_no">No</label> </p> </fieldset> <p class="Estilo5">Name</p></form><p> <label> <textarea name="name" cols="95" rows="1" id="name"></textarea> </label></p> <label>Save <input name="submit" type="Submit" value="Save" /> </label></body></html>Thank You I'm expecting a help, when I know to program in PHP I will help too, I know VisualFox 9 but I need to learn PHPmy email is nueva123@hotmail.com
  2. Hi, Please Help Me!!! I have a form where a lot of answers with radiogroup are selected but when I press button Enviar (or Submit) it doesn't function, I checked my table on my database and doesn't have any information, then my insert doesn't function, this is the code:<?php require_once('../Connections/elena.php'); ?><?php include('xalumno.php'); ?><?phpfunction GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = (!get_magic_quotes_gpc()) ? addslashes($theValue) : $theValue; switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue;}$editFormAction = $_SERVER['PHP_SELF'];if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);}if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO diagini1(cct,ze,nombre,edad,grado,grupo,comprende1,comprende2, comprende3,comprende4,comprende5,comprende6,comprende7,comprende8, comprende9,comprende10,com1,com2,com3,com4,com5, com6,com7,logmat1,logmat2,logmat3,logmat4,logmat5, convive1,convive2,convive3,convive4, learn1, learn2, learn3, probmot, cualprobmot, probdesotro, observa, total, nom_maestro, nom) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s, %s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)", GetSQLValueString($_POST['cct'], "text"), GetSQLValueString($_POST['ze'], "text"), GetSQLValueString($_POST['nombre'], "text"), GetSQLValueString($_POST['edad'], "int"), GetSQLValueString($_POST['grado'], "int"), GetSQLValueString($_POST['grupo'], "text"), GetSQLValueString($_POST['rb_comprende1'], "int"), GetSQLValueString($_POST['rb_comprende2'], "int"), GetSQLValueString($_POST['rb_comprende3'], "int"), GetSQLValueString($_POST['rb_comprende4'], "int"), GetSQLValueString($_POST['rb_comprende5'], "int"), GetSQLValueString($_POST['rb_comprende6'], "int"), GetSQLValueString($_POST['rb_comprende7'], "int"), GetSQLValueString($_POST['rb_comprende8'], "int"), GetSQLValueString($_POST['rb_comprende9'], "int"), GetSQLValueString($_POST['rb_comprende10'], "int"), GetSQLValueString($_POST['rb_com1'], "int"), GetSQLValueString($_POST['rb_com2'], "int"), GetSQLValueString($_POST['rb_com3'], "int"), GetSQLValueString($_POST['rb_com4'], "int"), GetSQLValueString($_POST['rb_com5'], "int"), GetSQLValueString($_POST['rb_com6'], "int"), GetSQLValueString($_POST['rb_com7'], "int"), GetSQLValueString($_POST['rb_logmat1'], "int"), GetSQLValueString($_POST['rb_logmat2'], "int"), GetSQLValueString($_POST['rb_logmat3'], "int"), GetSQLValueString($_POST['rb_logmat4'], "int"), GetSQLValueString($_POST['rb_logmat5'], "int"), GetSQLValueString($_POST['rb_convive1'], "int"), GetSQLValueString($_POST['rb_convive2'], "int"), GetSQLValueString($_POST['rb_convive3'], "int"), GetSQLValueString($_POST['rb_convive4'], "int"), GetSQLValueString($_POST['rb_learn1'], "int"), GetSQLValueString($_POST['rb_learn2'], "int"), GetSQLValueString($_POST['rb_learn3'], "int"), GetSQLValueString($_POST['rb_cualesprobmot'], "int"), GetSQLValueString($_POST['probdesotro'], "text"), GetSQLValueString($_POST['observa'], "text"), GetSQLValueString($_POST['total'], "int"), GetSQLValueString($_POST['nom_maestro'], "text"), GetSQLValueString($_POST['nomescuela'], "text")); mysql_select_db($database_elena, $elena); $Result1=mysql_query($insertSQL,$elena) or die(mysql_error()."- Query -".$insertSQL); $insertGoTo = "menuone.php"; if (isset($_SERVER['QUERY_STRING'])) { $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?"; $insertGoTo .= $_SERVER['QUERY_STRING']; } header(sprintf("Location: %s", $insertGoTo));}?><!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=iso-8859-1" /><title>DIAGNOSTICO INICIAL "C i c l o I</title><style type="text/css"><!--body,td,th { color: #FFFFFF;}body { background-color: #0099CC;}.Estilo1 {font-family: Arial, Helvetica, sans-serif}.Estilo5 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; }.Estilo6 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }--></style></head><body><form method="post" name="form1" action="<?php echo $editFormAction; ?>"> <input type="hidden" name="MM_insert" value="form1"></form><form action ="<?php echo $editFormAction; ?>" method="POST" enctype="multipart/form-data" name= "form1" > <h1><span class="Estilo1">Diagnóstico Inicial</span></h1> <h2><span class="Estilo1">Comprensión del medio natural, social y cultural</span></h2> <fieldset id="rb_comprende1"> <h5>1. Comp. 1-Ind.1.Nombra y ubica partes externas de su cuerpo y cara</h5> <input name="rb_comprende1" type="radio" value="Si" id="rb_comprende1_yes" <?php $OK = isset($_POST["rb_comprende1"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende1"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_comprende1_yes">Si</label> <input name = "rb_comprende1" type="radio" value="No" id="rb_comprende1_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende1"] == "No") { ?> checked="checked" <?php } ?> /> <label for ="rb_comprende1_no">No</label> </p> </fieldset> <fieldset id="rb_comprende2"> <h5>2. Comp. 1-Ind.2.Reconoce que es importante bañarse diariamente y lavarse las manos y los dientes y practica estas medidas de higiene</h5> <p> <input name="rb_comprende2" type="radio" value="Si" id="rb_comprende2_yes" <?php $OK = isset($_POST["rb_comprende2"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende2"] == "Si") { ?> checked = "checked" <?php }?>/> <label for = "rb_comprende2_yes">Si</label> <input name = "rb_comprende2" type="radio" value="No" id="rb_comprende2_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende2"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_comprende2_no">No</label> </p> </fieldset> <fieldset id="rb_comprende3"><h5> "3. Comp. 2-Ind.4.Participa en Juegos y rondas en espacios abiertos y con diversos materiales por ejemplo: pelotas, botes, llantas y tablas"</h5><p> <input name="rb_comprende3" type="radio" value="Si" id="rb_comprende3_yes" <?php $OK = isset($_POST["rb_comprende3"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende3"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_comprende3_yes">Si</label> <input name = "rb_comprende3" type="radio" value="No" id="rb_comprende3_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende3"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_comprende3_no">No</label> </p> </fieldset><fieldset id="rb_comprende4"><h5>4. Comp.4-Ind.2. Puede decir a las personas adultas donde le duele</h5><p> <input name="rb_comprende4" type="radio" value="Si" id="rb_comprende4_yes" <?php $OK = isset($_POST["rb_comprende4"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende4"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_comprende4_yes">Si</label> <input name = "rb_comprende4" type="radio" value="No" id="rb_comprende4_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende4"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_comprende4_no">No</label> </fieldset><fieldset id="rb_comprende5"><h5>5. Comp. 5-Ind.3. Lava las frutas antes de comerlas</h5><p> <input name="rb_comprende5" type="radio" value="Si" id="rb_comprende5_yes" <?php $OK = isset($_POST["rb_comprende5"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende5"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_comprende5_yes">Si</label> <input name = "rb_comprende5" type="radio" value="No" id="rb_comprende5_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende5"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_comprende5_no">No</label> </fieldset><fieldset id="rb_comprende6"><h5>6. Comp.6-Ind.3. Reconoce que las plantas y animales necesitan alimentarse para vivir</h5><p> <input name="rb_comprende6" type="radio" value="Si" id="rb_comprende6_yes" <?php $OK = isset($_POST["rb_comprende6"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende6"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_comprende6_yes">Si</label> <input name = "rb_comprende6" type="radio" value="No" id="rb_comprende6_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende6"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_comprende6_no">No</label></p> </fieldset><fieldset id="rb_comprende7"> <h5>7. Comp.8-Ind.1.Cuida que el agua para beber(potable) esté limpia y no se desperdicie</h5><p> <input name="rb_comprende7" type="radio" value="Si" id="rb_comprende7_yes" <?php $OK = isset($_POST["rb_comprende7"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende7"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_comprende7_yes">Si</label> <input name = "rb_comprende7" type="radio" value="No" id="rb_comprende7_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende7"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_comprende7_no">No</label></p> </fieldset> <fieldset id="rb_comprende8"> <h5>8.Comp.9-Ind.2.Relaciona el día con el sol y la noche con la luna y las estrellas</h5><p> <input name="rb_comprende8" type="radio" value="Si" id="rb_comprende8_yes" <?php $OK = isset($_POST["rb_comprende8"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende8"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_comprende8_yes">Si</label> <input name = "rb_comprende8" type="radio" value="No" id="rb_comprende8_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende8"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_comprende8_no">No</label></p> </fieldset><fieldset id="rb_comprende9"> <h5>9.Comp.13-Ind.2.Reconoce cuáles objetos pueden ser elaborados en su comunidad y </h5><p> <input name="rb_comprende9" type="radio" value="Si" id="rb_comprende9_yes" <?php $OK = isset($_POST["rb_comprende9"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende9"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_comprende9_yes">Si</label> <input name = "rb_comprende9" type="radio" value="No" id="rb_comprende9_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende9"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_comprende9_no">No</label></p> </fieldset><fieldset id="rb_comprende10"> <h5>10.Comp.19-Ind.2.Identifica a los miembros de su familia</h5><p> <input name="rb_comprende10" type="radio" value="Si" id="rb_comprende10_yes" <?php $OK = isset($_POST["rb_comprende10"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_comprende10"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_comprende10_yes">Si</label> <input name = "rb_comprende10" type="radio" value="No" id="rb_comprende10_no" <?php if ($OK && isset($missing) && $_POST["rb_comprende10"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_comprende10_no">No</label></p> </fieldset><h2 class="Estilo1">Comunicación</h2> <fieldset id="rb_com1"> <h5>1.Comp.1-Ind.3. Da y sigue instrucciones sencillas</h5> <p> <input name="rb_com1" type="radio" value="Si" id="rb_com1_yes" <?php $OK = isset($_POST["rb_com1"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_com1"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_com1">Si</label> <input name = "rb_com1" type="radio" value="No" id="rb_com1_no" <?php if ($OK && isset($missing) && $_POST["rb_com1"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_com1">No</label></p> </fieldset> <fieldset id="rb_com2"> <h5>2.Comp.2.-Ind.1.Saluda. Se presenta o se despide en españ</h5><p> <input name="rb_com2" type="radio" value="Si" id="rb_com2_yes" <?php $OK = isset($_POST["rb_com2"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_com2"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_com2_yes">Si</label> <input name = "rb_com2" type="radio" value="No" id="rb_com2_no" <?php if ($OK && isset($missing) && $_POST["rb_com2"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_com2_no">No</label> </p> </fieldset> <fieldset id="rb_com3"> <h5>3.Comp.3-Ind.1Platica en orden lo que realizó durante el dia</h5> <input name="rb_com3" type="radio" value="Si" id="rb_com3_yes" <?php $OK = isset($_POST["rb_com3"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_com3"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_com3_yes">Si</label> <input name = "rb_com3" type="radio" value="No" id="rb_com3_no" <?php if ($OK && isset($missing) && $_POST["rb_com3"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_com3">No</label></p> </fieldset><fieldset id="rb_com4"> <h5>4.Comp.4-Ind.2 Escucha con atención cuando hablan los adultos</h5> <p> <input name="rb_com4" type="radio" value="Si" id="rb_com4_yes" <?php $OK = isset($_POST["rb_com4"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_com4"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_com4_yes">Si</label> <input name = "rb_com4" type="radio" value="No" id="rb_com4_no" <?php if ($OK && isset($missing) && $_POST["rb_com4"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_com4">No</label></p> </fieldset><fieldset id="rb_com5"><h5>5.Comp.5-Ind.2. Dice de que se trata un cuento, a partir de sus imagenes</h5><p> <input name="rb_com5" type="radio" value="Si" id="rb_com5_yes" <?php $OK = isset($_POST["rb_com5"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_com5"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_com5">Si</label> <input name = "rb_com5" type="radio" value="No" id="rb_com5_no" <?php if ($OK && isset($missing) && $_POST["rb_com5"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_com5_no">No</label></p> </fieldset><fieldset id="rb_com6"><h5>6.Comp.7-Ind.4. Sabe escribir su nombre</h5><p> <input name="rb_com6" type="radio" value="Si" id="rb_com6_yes" <?php $OK = isset($_POST["rb_com6"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_com6"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_com6_yes">Si</label> <input name = "rb_com6" type="radio" value="No" id="rb_com6_no" <?php if ($OK && isset($missing) && $_POST["rb_com6"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_com6_no">No</label></p> </fieldset><fieldset id="rb_com7"> <h5>7.Comp.11-Ind.2.Escoge los libros que le gustan</h5> <p> <input name="rb_com7" type="radio" value="Si" id="rb_com7_yes" <?php $OK = isset($_POST["rb_com7"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_com7"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_com7_yes">Si</label> <input name = "rb_com7" type="radio" value="No" id="rb_com7_no" <?php if ($OK && isset($missing) && $_POST["rb_com7"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_com7_no">No</label></p> </fieldset> <h2 class="Estilo1">Lógica Matemática</h2><fieldset id="rb_logmat1"> <h5>1. Comp.1-Ind.2.Compara colecciones y señala cuál tiene más elementos, cuál tiene menos o si son iguales</h5> <p> <input name="rb_logmat1" type="radio" value="Si" id="rb_logmat1_yes" <?php $OK = isset($_POST["rb_logmat1"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_logmat1"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_logmat1_yes">Si</label> <input name = "rb_logmat1" type="radio" value="No" id="rb_logmat1_no" <?php if ($OK && isset($missing) && $_POST["rb_logmat1"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_logmat1_no">No</label></p> </fieldset> <fieldset id="rb_logmat2"><h5>2.Comp.1-Ind.3.Cuenta en orden los números del 1 al 10</h5> <input name="rb_logmat2" type="radio" value="Si" id="rb_logmat2_yes" <?php $OK = isset($_POST["rb_logmat2"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_logmat2"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_logmat2_yes">Si</label> <input name = "rb_logmat2" type="radio" value="No" id="rb_logmat2_no" <?php if ($OK && isset($missing) && $_POST["rb_logmat2"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_logmat2_no">No</label></p> </fieldset><fieldset id="rb_logmat3"><h5>3.Comp.3-Ind.1.Iguala dos colecciones de objetos agregando o quitando elementos</h5><p> <input name="rb_logmat3" type="radio" value="Si" id="rb_logmat3_yes" <?php $OK = isset($_POST["rb_logmat3"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_logmat3"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_logmat3_yes">Si</label> <input name = "rb_logmat3" type="radio" value="No" id="rb_logmat3_no" <?php if ($OK && isset($missing) && $_POST["rb_logmat3"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_logmat3_no">No</label></p> </fieldset><fieldset id="rb_logmat4"> <h5>4.Comp.5-Ind.1.Compara objetos y señala cuál es el más largo </h5> <p> <input name="rb_logmat4" type="radio" value="Si" id="rb_logmat4_yes" <?php $OK = isset($_POST["rb_logmat4"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_logmat4"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_logmat4_yes">Si</label> <input name = "rb_logmat4" type="radio" value="No" id="rb_logmat4_no" <?php if ($OK && isset($missing) && $_POST["rb_logmat4"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_logmat4_no">No</label></p> </fieldset><fieldset id="rb_logmat5"> <h5>5.Comp.6-Ind.1.Ubica objetos y personas con relación a sí mismo(cerca, lejos,enfrente o a un lado</h5> <p> <input name="rb_logmat5" type="radio" value="Si" id="rb_logmat5_yes" <?php $OK = isset($_POST["rb_logmat5"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_logmat5"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_logmat5_yes">Si</label> <input name = "rb_logmat5" type="radio" value="No" id="rb_logmat5_no" <?php if ($OK && isset($missing) && $_POST["rb_logmat5"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_logmat5_no">No</label></p> </fieldset>/> <h2 class="Estilo1">Actitudes y valores para la convivencia</h2> <fieldset id="rb_convive1" ><h5>1.Comp.2-Ind.1.2.Expresa con palabras su afecto por familiares, amigas y amigos</h5><p> <input name="rb_convive1" type="radio" value="Si" id="rb_convive1_yes" <?php $OK = isset($_POST["rb_convive1"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_convive1"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_convive1_yes">Si</label> <input name = "rb_convive1" type="radio" value="No" id="rb_convive1_no" <?php if ($OK && isset($missing) && $_POST["rb_convive1"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_convive1_no">No</label></p> </fieldset><fieldset id="rb_convive2"><h5>2.Comp.3-Ind.2.Respeta su turno para hablar y escucha a los demás</h5><p> <input name="rb_convive2" type="radio" value="Si" id="rb_convive2_yes" <?php $OK = isset($_POST["rb_convive2"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_convive2"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_convive2_yes">Si</label> <input name = "rb_convive2" type="radio" value="No" id="rb_convive2_no" <?php if ($OK && isset($missing) && $_POST["rb_convive2"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_convive2_no">No</label></p> </fieldset> <fieldset id="rb_convive3"><h5>3.Comp.4-Ind.2.Solicita y brinda ayuda a us compañeras y compañeros</h5> <input name="rb_convive13" type="radio" value="Si" id="rb_convive3_yes" <?php $OK = isset($_POST["rb_convive3"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_convive3"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_convive3_yes">Si</label> <input name = "rb_convive3" type="radio" value="No" id="rb_convive3_no" <?php if ($OK && isset($missing) && $_POST["rb_convive3"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_convive3_no">No</label></p> </fieldset> <fieldset id="rb_convive4"> <h5>4.Comp.5-Ind.1.Sabe que su país es México</h5> <p> <input name="rb_convive4" type="radio" value="Si" id="rb_convive4_yes" <?php $OK = isset($_POST["rb_convive4"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_convive4"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_convive4_yes">Si</label> <input name = "rb_convive4" type="radio" value="No" id="rb_convive4_no" <?php if ($OK && isset($missing) && $_POST["rb_convive4"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_convive4_no">No</label></p> </fieldset>/> <h2 class="Estilo1">Aprender a aprender</h2> <fieldset id="rb_learn1"> <h5>1.Comp.1-Ind.1. Atiende las instrucciones para realizar una tarea y pregunta cuando tiene dudas</h5> <p> <input name="rb_learn1" type="radio" value="Si" id="rb_learn1_yes" <?php $OK = isset($_POST["rb_learn1"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_learn1"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_learn1_yes">Si</label> <input name = "rb_learn1" type="radio" value="No" id="rb_learn1_no" <?php if ($OK && isset($missing) && $_POST["rb_learn1"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_learn1_no">No</label></p> </fieldset> <fieldset id="rb_learn2"> <h5>2.Comp.3-Ind.1 Sabe que personas y libros pueden proporcionale información</h5> <p> <input name="rb_learn2" type="radio" value="Si" id="rb_learn2_yes" <?php $OK = isset($_POST["rb_learn2"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_learn2"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_learn2_yes">Si</label> <input name = "rb_learn2" type="radio" value="No" id="rb_learn2_no" <?php if ($OK && isset($missing) && $_POST["rb_learn2"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_learn2_no">No</label></p> </fieldset><fieldset id="rb_learn3"> <h5>3.Comp.5-Ind.1 Realiza algunos dibujos secuenciados para expresar sus ideas</h5> <p> <input name="rb_learn3" type="radio" value="Si" id="rb_learn3_yes" <?php $OK = isset($_POST["rb_learn3"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_learn3"] == "Si") { ?> checked = "checked" <?php } ?>/> <label for = "rb_learn3_yes">Si</label> <input name = "rb_learn3" type="radio" value="No" id="rb_learn3_no" <?php if ($OK && isset($missing) && $_POST["rb_learn3"] == "No") { ?> checked="checked" <?php } ?> /> <label for "rb_learn3_no">No</label></p> </fieldset> <fieldset id="rb_actividadprobl"> <p class="Estilo6">Tiene algún problema para controlar sus movimientos al caminar, sentarse, escribir, recortar o realizar</p> <p class="Estilo5"><strong>alguna actividad manual <label> </label> </strong> <label></label> <label> <input name="rb_actividadprobl" type="radio" value="Si" id="rb_actividadprobl_yes" /> <?php $OK=isset($_POST["rb_actividadprobl"]) ? true : false; if ($OK && isset($missing) && $_POST["rb_actividadprobl"] == "Si") { ?> checked = "checked" <?php }?>/> <label for = "rb_actividadprobl">Si</label><input name="rb_actividadprobl" type="radio" value="No" id="rb_actividadprobl_No"<?phpif ($OK && isset($missing) && $_POST["rb_actividadprobl"]=="No") { ?> checked="checked" <?php } ?> /> <label for "rb_actividadprobl">No</label> </p> </fieldset> <p class="Estilo5"><strong>Cuáles?</strong> <label> <textarea name="cualesproblmot" cols="87" rows="5" id="cualesproblmot"></textarea> </label></p> <p class="Estilo6">Especifica si la niña o el niño tiene algún otro problema que pueda afectar su desempeño escolar:</p> <p class="Estilo5"> <label> <textarea name="probldesotro" cols="95" rows="5" id="probldesotro"></textarea> </label></p> <p class="Estilo6">Observaciones y comentarios: </p></form><p> <label> <textarea name="observa" cols="95" rows="5" id="observa"></textarea> </label></p><p><input name="total" type="int" value=0 id="total" /> <label>Grabar <input type="submit" name="Submit" value="Enviar" /> </label></p></body></html>What I'm doing wrong? HELP ME!! PLEASE
  3. PHP Tutorial

    Hi Batman
  4. Introduce Yourself

    Hi W3 People: I'm new from Mexico Country, City Durango, I'm single woman, I'm "Licenciada en Informatica" as a computer degree, and usually program on VisualFox 9, I love God, and try to be a good person, I would like to learn PHP, but I find it without structure, I like the visual things without much code, I think is boring. I say hello to all of U and hello for Chocolate too.
×