CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Other Programming Languages: PHP:
Help with parsing needed


Always IN Chaos

Aug 19, 2007, 12:09 AM

Post #1 of 1 (42340 views)
Help with parsing needed Can't Post

I have absolutely no idea how to do this, but I want to create a php page that has an form with a text area that you will paste html code into then it will strip certain data from it and put it into a text file (tab delaminated hopefully?)

this is a sample of the code that will be inserted into the form to be stripped down:

 <td>GemREI .com</td><td>Gem REI, LLC</td><td>Brooklyn, NY</td><td>Owner/Investor</td><td><span id=div0 onmouseover="tip1 = 'GemREI .com<br>(585) 672-5109';return overlib(tip1,ANCHOR,'div0');" onmouseout="return nd();"><img src=""></span></td>  
<input id="DataGrid1__ctl3_checkSelected" type="checkbox" name="DataGrid1:_ctl3:checkSelected" checked="checked" onclick="UpdateSel('DataGrid1__ctl3_checkSelected','DataGrid1__ctl1_cbCheckAll');" />
<div style="text-align:right">&nbsp;&nbsp;</div>
</td><td>Nate Abeare</td><td>&nbsp;</td><td>Flint, MI</td><td>Owner/Investor</td><td><span id=div1 onmouseover="tip1 = 'Nate Abeare<br>(810) 625-2374';return overlib(tip1,ANCHOR,'div1');" onmouseout="return nd();"><img src=""></span></td>
<input id="DataGrid1__ctl4_checkSelected" type="checkbox" name="DataGrid1:_ctl4:checkSelected" checked="checked" onclick="UpdateSel('DataGrid1__ctl4_checkSelected','DataGrid1__ctl1_cbCheckAll');" />
<div style="text-align:right">&nbsp;&nbsp;</div>
</td><td>Joe Accardi</td><td>&nbsp;</td><td>Thornhill, ON</td><td>Owner/Investor</td><td><span id=div2 onmouseover="tip1 = 'Joe Accardi<br>(647) 388-5125';return overlib(tip1,ANCHOR,'div2');" onmouseout="return nd();"><img src=""></span></td>


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives