[html-formfu] lost equal sign

Carl Franks fireartist at gmail.com
Fri Oct 29 12:09:23 GMT 2010


2010/10/29 Gabor HALASZ <halasz.g at freemail.hu>:
> Hi!
>
> I created the next config:
>
> ...
> <model_config>
>  model                   System::User
>  id_column               id
>  label_column            login
>  <condition>
>    <id>
>      >       1
>    </id>
>    <dead>
>      =       0
>    </dead>
>  </condition>
> </model_config>
> ...
>
> but I got an sql error:
>
> WHERE ( ( dead  ? AND id > ? ) )" with ParamValues: 0="0", 1="1"
>
> Tried with varius strings instead of equal (==, !=, '=', \=, blah, ...), I
> got back everything in the query except the =. Finally, I discovered, if the
> identifier contains a space, the equal works again:
> <dead >= 0</dead > creates dead = 0 query
> <dead =>0</dead => creates dead = 0 IS NULL query
> <dead =>= 0</dead> creates dead = = 0 query, etc...
>
> What about this? This is a formfu's or other component's problem?
>
> Thanks
>
>
> _______________________________________________
> HTML-FormFu mailing list
> HTML-FormFu at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
>



More information about the HTML-FormFu mailing list