shurix Posted August 16, 2009 Report Share Posted August 16, 2009 Jau vairākas stundas cīnos būvējos bet nekas nesanāk. Vajadzētu no šī te izdabūt to skaitli kas ir starp td tagiem. Būtu ļoti jauki ja kāds palīdzētu. <td class="row1" bgcolor="#000000" width="16">72</td> Quote Link to comment Share on other sites More sharing options...
bubu Posted August 16, 2009 Report Share Posted August 16, 2009 Nevis saki, ka nekas nesanāk, bet gan parādi, kas sanāk. Tad tev pielabos un pastāstīs, kur ir kļūda. preg_match_all('/<td class="row1" bgcolor="#000000" width="16">(\d+)<\/td>/', $str, $m); print_r($m); Quote Link to comment Share on other sites More sharing options...
shurix Posted August 25, 2009 Author Report Share Posted August 25, 2009 Tavs piemērs atgriež Array ( [0] => Array ( ) [1] => Array ( ) ) Quote Link to comment Share on other sites More sharing options...
bubu Posted August 25, 2009 Report Share Posted August 25, 2009 Tā nevajadzētu būt. Tiešam pārkopēji 1:1 ? Quote Link to comment Share on other sites More sharing options...
shurix Posted August 25, 2009 Author Report Share Posted August 25, 2009 Jau sarakstiju garu replay un beigas sapratu kur kļūda. Paldies. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.