thatoneguy Posted August 14, 2006 Share Posted August 14, 2006 Hello all, I am new to scripting and I am embarking on a rookie project. Accordingly, this question may be remedial but I would really appreciate the help.I want to write something that will extract pretermined lines of source code from a page and the place that data at a predetermined point within a HTML file. I know it can be done but I dont know where to start.THANKS.Example:<input title="Check to Remove" type="checkbox" name="chk3569687"><input title="Check to Remove" type="checkbox" name="chk3569518"><input title="Check to Remove" type="checkbox" name="chk3569474">Data to be extracted:chk3569687chk3569518chk3569474Then place in a seperate text document like this<tr> <td>clickAndWait</td> <td>//a[contains(@href, 'trpItemBuild.aspx?item=4348569&do=r')]</td> <td></td></tr><tr> <td>click</td> <td>[color=red]chk3569687[/color]</td> <td></td> <td>click</td> <td>[color=red]chk3569518[/color]</td> <td></td> <td>click</td> <td>[color=red]chk3569474[/color]</td> <td></td></tr> Link to comment https://forums.phpfreaks.com/topic/17451-help-with-simple-function/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.