You are here: Re: [PHP] Regex help « PHP « IT news, forums, messages
Re: [PHP] Regex help

Posted by Mike Smith on 01/13/06 16:52

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




[Reply to this message]

Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация