HTML:
<div align="center"><center>
<table border="0" cellpadding="0">
<tr>
<td bgcolor="#006090" valign="top" align="center"><p align="center"><strong><font face="Tahoma"
size="2" color="#FFFFFF">Selecione a Semana</font></strong></td>
</tr>
<tr>
<td valign="top" align="center" height="1" bgcolor="#22A7D2"><form method="POST">
<dl>
<div align="center">
<dt><font size="2" face="Tahoma"> <font color="#FFFFFF"><input type="text" name="EDR" size="20"
style="background-color: rgb(34,167,210); color: rgb(34,167,210); border: medium none"
value="Tudo"></font></font></dt>
</div>
<dd> </dd>
<div align="center">
<dt><strong><font size="2" face="Tahoma">Semana:</font> </strong></dt>
</div><div align="center">
<dt><font size="2" face="Tahoma"></font></dt>
</div>
<dt><font size="2" face="Tahoma"><strong> </strong><font color="#FFFFFF"><select name="Inicio"
size="1" style="background-color: rgb(255,255,255); color: rgb(0,0,128)">
<option value="16/2/2015">16/2/2015 - 22/2/2015 </option>
<option value="9/2/2015">9/2/2015 - 15/2/2015 </option>
NOTE: The html continues with many more options, but until now you have an idea. The query that I'm trying to use to get the value of options (ALL):
//select[name='Inicio']/option/@value
OBS: I was unable to test the query to see if it worked. When I try to echo echo in php:
echo $nodes->item(0)->nodeValue;
Error returned:
Notice: Trying to get property of non-object in C:\xampp\
I'm guessing that I'm missing the query , I have doubt if I need to go through the html all with the query to get into options or p bone go straight pro select how I did . Does anyone know where the error is?