Jump to content
php.lv forumi

preg_match


Vilsol

Recommended Posts

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 by Vilsol
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...