Re: Problème WHERE

tofulm <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
la fonction calculer_mysql_where($where)

si elle prend en entrée un array :

Array (

[0] => '='

[1] => 'L1.objet'

[2] => sql_quote('article')

)


va produire :

$arg = "'L1.objet'";

$arg2 = "sql_quote('article')";

$op = "'='";

Donc

return "($arg $op $arg2)"; => donne : ('L1.objet' '=' sql_quote('article'))

Pourquoi dans la valeur d'entrée le = et L1.objet sont entre quote ?

Je continue mes investigations




-- 

tofulm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.