我正在编写一个用于匹配Code ussing preg匹配所有标记的php。使用preg匹配的代码匹配全部
这里是我的php代码。
preg_match_all('|SentSmsId(\d*?)&noOfMessages|i', $data, $code);
echo“$ code”;
这里是html代码。
<a href="sentSms.php?zxcoiesesscd=&SentSmsId=8830978&NoOfMessages=" style="text-decoration:none;"
我想匹配sentsmsid代码并回显它。
但不起作用。
怎么了?
谢谢...我错过了它... :) – 2013-05-13 10:10:17
很高兴帮助你:) – Rikesh 2013-05-13 10:11:10