> "Call to unsupported or undefined function srtoupper() in.... on line 82."
srt != str (typo).
> if (strtoupper(substr($xmbrcode,11,1)) != "B" &&
> strtoupper(substr($xmbrcode,11,1)) != "P" &&
> srtoupper(substr($xmbrcode,11,1)) != "H" &&
> srtoupper(substr($xmbrcode,11,1)) != "O").... {
See above. Btw, consider something like:
$str = '123456789abcdef';
$bad = array('B','P','H','O');
if (in_array(strtoupper($str{11}),$bad)) {
echo 'boo';
}
I can't believe people code on Christmas :)
Warm regards,
Philip Olson
--
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]