Ivan Sergio Borgonovo ha scritto:
But when i show the output of this query the result for q is
wrong. Is correct if I exec this code:
    

No, because it is prone to sql injection.
  
I know it. Don't consider me so stupid! It was to say that the query works.

If the solution is "%%%s%%" tnx for the reply.

M.
-- 
Michel 'ZioBudda' Morelli                       michel@ziobuddalabs.net
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ziodrupal.net       			MSN: michel@ziobuddalabs.it                   
						JABBER: michel@ziobuddalabs.it