so say I have an HTML page like this.
<input type="text" name="name" />
<input type="hidden" name="test" value="test_result1" />
<input type="hidden" name="test2" value="test_result2" />
I want to parse that HTML page (from a url, using file_get_contents?), then get the names of the input elements that have the type "hidden".
Basically what I want parsed from that page is
test
test2
Is there a way to do this? I looked into some parsing libraries (like SimpleHTMLDom), but I just couldn't do it.
$html->find('input[type=hidden]');