Foros del Web

Foros del Web (http://www.forosdelweb.com/)
-   Frameworks JS (http://www.forosdelweb.com/f127/)
-   -   Ayuda con Serialize (http://www.forosdelweb.com/f127/ayuda-con-serialize-576984/)

pockers 17/04/2008 09:16

Ayuda con Serialize
 
TENGO UN FORMULARIO CON 21 CHECKBOX...PARA RESCATAR LOS DATOS ME DIJERON QUE OCUPARA serialize Y ESTE ES EL CODIGO QUE HICE:

<script type="text/javascript" language="javascript">
$(document).ready(function(){
var x;
x=$("form");
x.ready(inicializarEventos)
function inicializarEventos()
{
$("#Guardar").click(function()
{
$.post("prueba2.php", $("form").serialize(), function(data) {
$("#results").html(data);
});
});
}
});
</script>

<input type="checkbox" name="valor" Value="si" id="valor"> // 21 checkbox

AHORA NECESITO EN PHP RESCATAR LOS DATOS MOSTRARLOS Y GUARDARLOS EN UNA BD, CHECKBOX POR CHECKBOX...EN LA BD TENGO 21 CAMPOS PARA LOS 21 CHECKBOX

MI PROBLEMA ES COMO LOS RESCATO EN PHP LOS DATOS DE SERIALIZE... Y QUE LOS GUARDE...SI ALGUIEN ME PUEDE AYUDAR, SE LO AGRADECERIA MUCHISIMO :si::aplauso:

GatorV 17/04/2008 10:58

Re: Ayuda Con SERIALIZE Pleaseeee ˇˇˇ Urgente
 
Tema trasladado a Frameworks / JS

Por favor no utilices en tus temas "please, ayuda, etc." es mejor usar títulos mas descriptivos.

Saludos.


La zona horaria es GMT -6. Ahora son las 20:36.

Desarrollado por vBulletin® Versión 3.8.7
Derechos de Autor ©2000 - 2026, Jelsoft Enterprises Ltd.