RE: [PHP] php + javascript hard day together ?

2002-07-16 Thread Ford, Mike [LSS]
-Original Message- From: David D [mailto:[EMAIL PROTECTED]] Sent: 13 July 2002 16:38 I can manage this script to work. Js warn about listid[], he doesnt like [] in a var name ! Php needs them to collect an array from form checkboxes. form name=test action=check.php input

[PHP] php + javascript hard day together ?

2002-07-13 Thread David D
Hi all, I can manage this script to work. Js warn about listid[], he doesnt like [] in a var name ! Php needs them to collect an array from form checkboxes. Here is my source : !doctype html public -//W3C//DTD HTML 4.0 //EN html head titleTitle here!/title SCRIPT LANGUAGE=JavaScript

Re: [PHP] php + javascript hard day together ?

2002-07-13 Thread Jason Wong
On Saturday 13 July 2002 23:37, David D wrote: Hi all, I can manage this script to work. Js warn about listid[], he doesnt like [] in a var name ! There's nothing you can do about that. Php needs them to collect an array from form checkboxes. You'll just have to rename your checkboxes to

Re: [PHP] php + javascript hard day together ?

2002-07-13 Thread David D
I hack js no need to change in php : SCRIPT LANGUAGE=JavaScript !-- Begin var checkflag = false; // on va se ballader parmis les elements de formualire et toucher // au case a cocher function check(formulaire) { if (checkflag == false) { for (i = 0; i formulaire.length; i++) { if