Search found 2 matches
- Thu Dec 04, 2008 3:20 pm
- Forum: PHP - Code
- Topic: Troubles with if else
- Replies: 3
- Views: 220
Re: Troubles with if else
Yeah, that's how I originally had it but in looking up bits of code I found someone had done it the other way. I'm out of ideas so I figured it was worth a shot and just left it like that. Seems to work the same either way.
- Thu Dec 04, 2008 3:03 pm
- Forum: PHP - Code
- Topic: Troubles with if else
- Replies: 3
- Views: 220
Troubles with if else
I'm trying to check $stringData for the string in $look and if found, add the IP to my banned_ip table and quit. Then, every time a request comes in it will check if the IP is in the banned_ip table and if not, it will add the values into testtable. I can get it to check the string for $look and add...