if your using numbers , which i guess you are, you do not need to use LIKE.

$query="SELECT * FROM inner-multipli
 WHERE
 cod_in >=$cod_int1
 AND
 cod_int <=$cod_int2";


bruno peracchio wrote:
Hi
I'm newbie

I have to find from xvalue to yvalue; I have written:
$query="SELECT * FROM inner-multipli
WHERE cod_in
LIKE =>'%$cod_int1%'
AND cod_int
LIKE <='%$cod_int2'=;
This not work; how can I do?

Thanks in advance

bruper




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



--

-------------------------------------------------------------------
===================================================================
----------- :::====   :::  :::====   :::====   :::===   :::=======
----------- :::  ===  :::  ::   ===  ::   ===      ===  ::: === ===
----------- ===  ===  ===     ====      ====    =====   === === ===
----------- ===  ===  ===   ===       ===          ===  ===     ===
----------- =======   ===  ========  ========  ======   ===     ===
========================================www.dunkfordyce.co.uk======



---------------------------------------------------------------------
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to