JCF
|
| Posted: 04/09/2002, 8:47 AM |
|
Hi All
Is there a way to hide a Form if I am not using Templetes.
I am using MySQL and PHP but not with the Templates.
Thanks for any help
JCF
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 04/10/2002, 12:39 AM |
|
Put php code into Form/Header&Footer section , e.g.
header : <? if ($condition) {
footer : ?>
so , if condition is false, form is not shown
--
Alex
CodeCharge Developer
"JCF" <jcf@mail.org> wrote in message
news:a8v2dp$r5o$1@news.codecharge.com...
> Hi All
>
> Is there a way to hide a Form if I am not using Templetes.
>
> I am using MySQL and PHP but not with the Templates.
>
> Thanks for any help
>
> JCF
>
>
|
|
|
 |
JCF
|
| Posted: 04/10/2002, 10:31 AM |
|
Thanks for the reply
I have tried as you post but there still is errors?
This is the code generated:
<? if ($fldNUM){
<?php Form1_show() ?>
}
?>
I added the '}' to your code but it still will not work?
Any ideas?
Thanks
JCF
"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:a90q73$aca$2@news.codecharge.com...
> Put php code into Form/Header&Footer section , e.g.
>
> header : <? if ($condition) {
>
> footer : ?>
>
> so , if condition is false, form is not shown
>
>
> --
> Alex
> CodeCharge Developer
>
>
> "JCF" <jcf@mail.org> wrote in message
>news:a8v2dp$r5o$1@news.codecharge.com...
> > Hi All
> >
> > Is there a way to hide a Form if I am not using Templetes.
> >
> > I am using MySQL and PHP but not with the Templates.
> >
> > Thanks for any help
> >
> > JCF
> >
> >
>
>
|
|
|
 |
|