Search Help Board

PHP FAQ
PHP Articles
PHP Help
Bulletin Board

PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help


 
 Re: search query..
Author:  (---.30.20.178.Dial1.Dallas1.Level3.net)
Date:   02-19-04 08:03

mike... <font class="smallest">wrote</font>:
>
>
> $bs = "SELECT bannedip from bannedips where bannedip LIKE
> '%$userip%'";
> $result = mysql_query($bs) OR die(mysql_error());
>
>
> I know i get the $userip correctly, and i know my ip matches
> it, but when i search mysql using that string it doesnt
> return anything :(
>
> anybody got a beter idea??





i also tried...

$bs = "SELECT bannedip from bannedips where bannedip LIKE '%$userip'";

$result = mysql_query($bs) OR die(mysql_error());

 Topics Author  Date
 search query..  new
mike... 02-19-04 07:14 
 Re: search query..  new
mike... 02-19-04 08:03 
 Re: search query..  new
bastien 02-19-04 09:05 
 Re: search query..  new
mike... 02-19-04 16:47 
 Re: search query..  new
bastien 02-19-04 17:33 
Go to Top  |  Go to Topic  |  Flat View  |  Search 
  |  
New Topic
 Reply To This Message
 Your Name:
 Your Email:
 Subject:
Email replies to this thread, to the address above.
    

Provided By
Phorum