hanigamal / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Help on pq() #206

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi guys, I need some help with my project.

I have a HTML page like the following

<div class="inner">
<h2>......</h2>
<ul>
<li class="odd">....</li>
<li class="odd">....</li>
</ul>

<h2>......</h2>
<ul>
<li class="odd">....</li>
<li class="odd">....</li>
</ul>

<h2>......</h2>
<ul>
<li class="odd">....</li>
<li class="odd">....</li>
</ul>

</div>

I need to extract information for every h2 tag and then corespopnding to the h2 
for every 'abc' class.
I tried different things but couldnot do anything. Instead i was getting the 
results multiple times. 

Any help would be appreciated. Please i await your reply.

Original issue reported on code.google.com by shobhit....@gmail.com on 1 Mar 2012 at 4:46