By: Ianto
Date: 2010-11-19
Time: 11:57
|
undeclared variables - magnetI want to delete a whole div section if a PHP variable has not been defined.
In this example below, will the div get deleted if 'varSomeText' has not been defined in the PHP script?
|
|
By: Anonymous
Date: 2010-11-19
Time: 17:44
|
Re: undeclared variables - magnetIanto,
It should - if all else is okay. What error were you getting from your code test? Did you try with the var set and unset? Magnets are covered very well in the manual at http://www.tinybutstrong.com/manual.php#html_field_prm |
|
By: Ianto
Date: 2010-11-19
Time: 22:07
|
Re: undeclared variables - magnetHello, I get this:
I guess that I will need to include the 'noerr' param in every template field. Cheers. |