Reputation: 38825
Hi
In jQuery, we can use the script below to get html element value:
<p id="some">test</p>
$(function() {
$a = $('#some').text();
});
In PHP, how can we do the same function?
Thanks you
Upvotes: 1
Views: 7245
Reputation: 792
Or Use PHP Simple HTML DOM Parser http://simplehtmldom.sourceforge.net/
Upvotes: 1