Eric, thanks for replying. I couldn't quite get that to work. Albert,
I'm currently working with what you suggested, though the unit names
are not that consistent:

$vals = preg_split(' ?X? ',$unit[1]);
echo "<strong>".$unit[1]."</strong><br />\n";
echo "Panel: ".$vals[0]."<br />Width: ".$vals[1]."<br />Height:
".$vals[2]."<br />\n";

202-90B 48 X 48 X 69 1/4
Panel: 202-90B 48
Width: 48
Height: 69 1/4

Thanks

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to