sockets; table rows - 17/03/06 12:59 AM
I have a socket to read info from a table. I'd like to save every row to a %var. So %var would be: row1, ro2, row3. I have a working socket that can get only the first row. How can i make it continute to grab the rest of the table?
Thanks
Code:
on *:sockread:blah:{ if ($sockerr) { echo -a Error. halt } else { var %data sockread %data if (<tr><td>*</td><td>*</td><td>*</td><td>*</td><td>*</td></tr> iswm %data) { echo -a $nohtml(%data) sockclose $sockname halt } } }
Thanks