473,387 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How to collect data which is in table at web page?

I got the data by matching preg_match_all<table>,<tr>,<td>
but cant be to extract the data for particular table
in that table i got particular data which is in <span>,
<td>or <a> rather than i got whole <td> or <a> data


code refer::

Expand|Select|Wrap|Line Numbers
  1. $pat2 = "|<[td>]+(.*)</[td>]+>|U";
  2. preg_match_all($pat, $result, $outp,PREG_SET_ORDER);
  3. print_r(outp);
Nov 2 '10 #1
1 1935
dlite922
1,584 Expert 1GB
you need to change your regex to match the data.

Since I don't have sample data, how can I help you?

We'll need all possible variations of your data to create a regex that can capture your data.



Dan
Nov 5 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: NB | last post by:
Hi My file server runs Win 2000 Pro and has Office XP installed. I host a data access page contaning Pivot Table on the server. In the page body I have some reference to an lpk file on the...
0
by: Manystrengths | last post by:
I must warn all of you willing to help me that this is my first go at designing a functional data access page. Please bear in mind that we all start somewhere so if I should be asking the absolute...
0
by: nick_faye | last post by:
Hi, I hope somebody can help me. I am collecting data from different external ms access database on my VB programming. I am using the SQL command as shown below: While strPaths(iCtr) <> ""...
1
by: Zurab | last post by:
Hi, I have problem to collect data received with callback from .NET dll to my managed class. I can't use map, queue or something else in managed class and can't place event delegate to my other...
6
by: Senthil | last post by:
Hi All We are having a VB application on SQL. But we need to collect information from persons who will be offline to verify data and insert new data. Generally they will be entering the data in...
1
by: laredotornado | last post by:
Hi, I have a data table on my page (buried amidst other images and extraneous text). I would like to spawn a new window that automatically prints the content of my data table, and only that...
0
by: Hollywood | last post by:
Good day dear members of the comp.databases.ms-access newsgroup. I'm using the new Acess 2007 "Collect data by using e-mail messages" functionality but it seems the generated e-mail by Outlook...
1
by: mirajsen | last post by:
Hello, I am trying to enter records to a table through a Data Access page, which is linked to the table. When I open the page, it is showing the first record which is in the table. Is there...
6
by: mulamootil | last post by:
Hi, I have few tables and i am populating them using respective forms. However on one of the tables, there are 10 fields out of which 2 fields, I would like some other user to fill it. Is there a way...
1
by: shivasusan | last post by:
i have data in database. I want to collect data in combo box. for ex: field name: New_song data: aaa bbb ccc ddd how?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.