Vilsol Posted April 29, 2011 Report Share Posted April 29, 2011 (edited) Tātad varētu būt, ka tas nav īpaši saistīts ar preg_match bet tomēr es gribu lai viņš nolasa notektu koda daļu piemēram: <head> </head> <body> <div class="1"> <p>blah blah blah</p> <div class="1.1"> trolololol </div> <div class="1.2"> trolo2lolo </div> </div> </body> es gribu lai viņš nolasa pilnīgi visu Div ar klasi 1 tomēr viņš apstājas pie div 1.1 noslēdzošā "</div>" kā lai to panāk? Edited April 29, 2011 by Vilsol Quote Link to comment Share on other sites More sharing options...
briedis Posted April 29, 2011 Report Share Posted April 29, 2011 Rocies te: http://php.net/manual/en/book.dom.php 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.