Re: Using a checkbox with callback function
| From: | rav k | Date: | Sat, 09 Dec 2006 12:31:59 +0000 |
| Subject: | Re: Using a checkbox with callback function | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26051@lists.php.net to get a copy of this message | ||
Thanks guys - this was a typo problem!!! Warning to all newbies - double-, triple- check what you have written!!!
www.bitesoftware.com - software for a better lifestyle
From: Mark Wiesemann <wiesemann@php.net> To: pear-general@lists.php.net Subject: Re: [PEAR] Using a checkbox with callback function Date: Sat, 9 Dec 2006 11:45:12 +0100 MIME-Version: 1.0 Received: from lists.php.net ([216.92.131.4]) by bay0-mc11-f2.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Sat, 9 Dec 2006 02:45:41 -0800 Received: from [216.92.131.4] ([216.92.131.4:29859] helo=lists.php.net)by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTPid 76/B5-50161-2D39A754 for <rav220@hotmail.com>; Sat, 09 Dec 2006 05:45:38 -0500 Received: (qmail 97027 invoked by uid 1010); 9 Dec 2006 10:45:16 -0000 Received: (qmail 97020 invoked by uid 1010); 9 Dec 2006 10:45:16 -0000 X-Message-Info: LsUYwwHHNt3KwaPqvaBH/kfFPvT7jxvvA7T84bAQr2E= Return-Path: <pear-general-return-26050-rav220=hotmail.com@lists.php.net> X-Host-Fingerprint: 216.92.131.4 lists.php.net Mailing-List: contact pear-general-help@lists.php.net; run by ezmlm Precedence: bulk list-help: <mailto:pear-general-help@lists.php.net> list-unsubscribe: <mailto:pear-general-unsubscribe@lists.php.net> list-post: <mailto:pear-general@lists.php.net> Delivered-To: mailing list pear-general@lists.php.net Delivered-To: ezmlm-scan-pear-general@lists.php.net Delivered-To: ezmlm-pear-general@lists.php.net X-Host-Fingerprint: 212.117.93.122 clx-ac2-122-3.westend.com User-Agent: 40tude_Dialog/2.0.15.1de (3ee32466.503.81) References: <BAY108-F3236D173545DF3479A2DA29AD30@phx.gbl> <432beae0612081243r43c09756w9f36db638060efd8@mail.gmail.com> X-Posted-By: 212.117.93.122 X-OriginalArrivalTime: 09 Dec 2006 10:45:41.0693 (UTC) FILETIME=[2C08F6D0:01C71B7F] Justin Patrin wrote: On 12/8/06, rav k <rav220@hotmail.com> wrote:_________________________________________________________________ It's Hotmail's 10th Birthday! Come and play Pass the Parcel http://www.msnpasstheparcel.commyI have some checkboxes on my form and want to pass the checked ones tothefunction; I'm using this: function testadd($vars) {$s=$var['skills']; var_dump($s);} But the var_dump is returning NULL, what is the correct format to passitscheckbox array? What I will need to do is if a checkbox is checked saveHow are you using this function? This seems to be only a typo problem, as Brett already pointed out: $vars vs. $var. A good reason to develop with: error_reporting(E_ALL); Regards, Mark -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpname to the db as in skill['name']..