Re: Strange Parse Errors. Help needed.
| From: | Andrei Zmievski | Date: | Thu, 03 Jan 2002 14:20:18 +0000 |
| Subject: | Re: Strange Parse Errors. Help needed. | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2486@lists.php.net to get a copy of this message | ||
On Thu, 03 Jan 2002, Rodrigo Pinheiro wrote:
> Hi there:
>
> I'm trying to use the following code:
>
> <select name="categoria">
> <option>Seleccione a Categoria</option>
> {section name=categorias loop=$id_categoria}
> {if $id_categoria[categorias] eq $FORM_Categoria}
> <option value="{$id_categoria[categorias]}"
> selected>{$nome_categoria[categorias]}</option>
> {else}
> <option
> value="{$id_categoria[categorias]}">{$nome_categoria[categorias]}</option>
> {/if}
> {/section}
> </select>
>
> It works fine in Windows 2000 (PHP 4.06)but when I use it in an Linux Server
> (PHP 4.0.3pl1) I get a "Parse Error". I'm using Smarty's latest version
> (1.5.2). Am I doing something wrong? Could somebody help me?
Is it a PHP parse error or a Smarty parse error?
-Andrei
* What were the first 15 billion years of the universe like for you? *