Greetings..
This is how I currently check for instances of words and other:
for ($i=0; $i < $total_lines; $i++){
$line_array = explode("|",$line[$i]);
$swhat=strtolower($txtLinkname);
$xos =
array(strtolower($line_array[1]),strtolower($line_array[2]),strtolower($line
_array[3]),strtolower($line_array[4]),strtolower($line_array[5]));
if (in_array($swhat,$xos,true)) {
$found++;
Problem is, that the server where I have my files don't support in_array. It
is claimed that the servers PHP server is on version 4.0, how can this be
when in_array is a function that came first with PHP4 (according to my
documents) ??
Is there something else I could use?
Thanks
- Richard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]