Re: sort() - Where did I go wrong?
| From: | John Taylor-Johnston | Date: | Sun, 11 Jul 2004 07:05:41 +0000 |
| Subject: | Re: sort() - Where did I go wrong? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190170@lists.php.net to get a copy of this message | ||
Ok. This is not a numeral problem? strval did not make a difference.
I have, however, solved the immediate problem with:
# if((strtolower(substr($enquiry, 0, 1)) == $rbenquiry))
if((strtolower(substr($enquiry, 0, strlen($rbenquiry))) == $rbenquiry))
However, preg_replace ('/('.$searchenquiry.')/i' ,
"<b>$1</b>", $mydata->RB)
still gives me:
error: Unknown modifier ...
$searchenquiry = "1.0.1 Retrospective bibliographies and checklists / bibliographies et
répertoires rétrospectifs";