View Single Post
  #5 (permalink)  
Old 07-24-05, 01:45 AM
shadi's Avatar
shadi shadi is offline
Wannabe Coder
 
Join Date: Aug 2004
Location: EGY
Posts: 145
Thanks: 0
Thanked 0 Times in 0 Posts
did you surrounded the variable $nr with signle quotes ?

example :

Quote:
$question = "select * from data_table where ".$finding_method." like '%".$phrase."%' and nr = '$nr' ORDER BY nr DESC "
__________________
Email : write2shadi at gmail dot com
MSN : write2shadi at gmail dot com
Aim : shadiaim7
Skype: shadi_skype
Reply With Quote