i have the following html...
<a href="page1.htm"><span class="pagelink">1</span></a>
<span class="pagelink">2</span>
<a href="page3.htm"><span class="wp-pagelink">3</span></a>
How can I get the number 2 with php?
What do you mean by get ? Are you trying to set a var from the .html of the span ? this can be done by javascript.