Posted by Janwillem Borleffs on 10/21/37 11:16
Janwillem Borleffs wrote: > if (false !== stripos($split[$i], "<pre>")) { > ... > } > Hmmm... not very useful when you don't use PHP5. To make a case-insensitive match in PHP4, just follow Andrew's suggestion combined with strtolower: if (strtolower(substr($split[$i], 0, 5)) !== '<pre>') { ... } JW
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming