[pmwiki-users] New cookbook recipe : BuildForms
Pierre Rouzeau
pierre at rouzeau.net
Wed Mar 9 16:04:25 CST 2005
Duh! it's my fault, sorry for all that.
I had written :
if ($args['disp']) $disp = $args['disp'];
if (!isset($disp)) $disp = $name;
corrected as
if (isset($args['disp'])) $disp = $args['disp'];
else $disp = $name;
It now works...
Regards
Patrick R. Michaud a écrit :
> On Wed, Mar 09, 2005 at 08:26:22PM +0100, Pierre Rouzeau wrote:
>
>>Hello,
>>
>>what I mean is that if you set param_x=value, the result will be that
>>
>>$arg[param_x]==value
>>
>>but if you set param_x="" the isset($arg[param_x]) == FALSE
>>and what interest me is that $arg[param_x])=="".
>
>
> Ummmm, that's not the way it should work -- if you set param_x=""
> then isset($arg['param_x']) should be true. It certainly appears to work
> that way in the cookbook ParseArgs demo page.
>
> Can you give me a code excerpt of what isn't working?
>
> Pm
>
>
--
---------------------------------------------------------------------------
Pierre Rouzeau - Proud indigenous of old Europe
CNC Router - Fraiseuse CN www.otocoup.com <http://www.otocoup.com>
Hovercraft model - Aéroglisseur modèle www.aeroglisseur.com
<http://www.aeroglisseur.com>Mon petit bateau - la "souris" -
www.rouzeau.net/Souris.htm <http://www.rouzeau.net/Souris.htm>
Page principale - Main page - www.rouzeau.net <http://www.rouzeau.net>
---------------------------------------------------------------------------
More information about the pmwiki-users
mailing list