Jump to content

[SOLVED] Really stupid question..


Michdd

Recommended Posts

I don't know why I'm having troubles with this, because it's a really simple problem. But how would I correct set a if, true statement for stripos?

 

I tried:

 

$check = stripos($ips, $ip);

if ($check === false){

}

 

But there must be something wrong with my if statement?

 

 

Link to comment
https://forums.phpfreaks.com/topic/131573-solved-really-stupid-question/
Share on other sites

 

Yea, I already knew how it was used. And I was even stupider than I thought, I made a mistake with my MySql commands, I had it creating a new row instead of inserting it into the current row selected, so that's obviously why the string wasn't found.

 

Thanks anyways.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.