I'm trying to find a way to get the content of this HTML attribute "name", using PHP getStr, I can't get it to work anyhow, I have already searched, but I couldn't find find something that may help me.
<input id="9d6e793e-eed2-4095-860a-41ca7f89396b.subject" maxlength="50" name="9d6e793e-eed2-4095-860a-41ca7f89396b:subject" value="" tabindex="1" class="subject required field" type="text"/>
I want to get this value into a string:
9d6e793e-eed2-4095-860a-41ca7f89396b:subject
I can get the value of a tag like this one:
<input type="hidden" name="message" value="1442814179635.Oz1LxjnxVCMMJ0QpV0wGLx4roEA="/>
With this code:
getStr($b,'name="message" value="','"');
But I can't find a way to get the attribute name of the first one?