PHP Classes

Recommendation for a PHP class to order table by column: Print sorted data from reading html table

Recommend this page to a friend!
  All requests RSS feed  >  Recommendation for a PHP class to ord...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Recommendation for a PHP class to order table by column

Edit

Picture of Mario Fuentes by Mario Fuentes - 3 years ago (2020-06-27)

Print sorted data from reading html table

This request is clear and relevant.
This request is not clear or is not relevant.

+1

I need to print data sorted by sale price from a html table on this site:

https://www.realestateabc.com/home-values/detail/TX/San+Antonio/7703+Lynn+Anne+St

Location		History			Room Count		Square Feet		
Property Address	Proximity	Sale Date	Sale Price	Built In	Beds	Baths	Building	Price Per	Lot

Subject Property

7703 Lynn Anne St 0 mi N/A N/A 1977 3 2 1,891 $115 9,774

Recent Sales in this Area

								

A 15814 Cotton Tail Ln 4.2 mi 08-30-2019 $242,000 2005 3 3 2,431 $100 5,662

B 7411 Slippery Elm St 0.9 mi 05-20-2020 N/A 1976 3 2 1,360 $138 8,833

C 8411 Upton 0.7 mi 10-18-2019 $142,500 1987 4 4 2,653 $54 10,454

D 8102 Raritan St 0.3 mi 08-30-2019 $178,500 1978 4 2 1,788 $100 8,712

E 9422 Tranquil Park Dr 0.5 mi 08-16-2019 N/A 1993 4 3 2,145 $121 7,405

F 7410 Brian Clarke St 0.3 mi 06-05-2020 N/A 1979 6 4 3,105 $92 9,517

G 9215 Johnny Reb Dr 0.9 mi 06-15-2020 N/A 2020 3 2 1,657 $142 5,227

H 7615 Briston Park Dr 1.1 mi 08-16-2019 $269,000 1994 4 3 3,288 $82 8,276

I 6703 Secession Ln 0.9 mi 11-22-2019 $245,000 1986 4 3 2,268 $108 8,276

J 9520 Legend Isle Dr 0.7 mi 09-05-2019 $305,000 1993 4 3 2,754 $111 10,454

K 8675 Bristlecone St 0.6 mi 05-18-2020 $227,000 1977 3 2 1,714 $132 7,840

L 8211 Lynbrook Manor Dr 0.5 mi 12-18-2019 N/A 1992 4 3 2,696 $130 11,325

M 8627 Tanbark Dr 0.6 mi 12-20-2019 N/A 1977 3 2 1,426 $126 7,440 N 10508 Lost Blf 0.7 mi 10-30-2019 N/A 1993 4 3 2,782 $82 6,969 O 8423 Kingsway St 0.7 mi 08-01-2019 N/A 1980 4 3 2,438 $114 9,583 P 8827 Breanna Oaks 0.9 mi 10-15-2019 $297,500 2013 3 3 2,097 $142 7,840 Q 8683 Tanbark Dr 0.5 mi 11-26-2019 $175,000 1977 4 2 1,443 $121 11,761 R 8414 Kingsway St 0.7 mi 08-22-2019 N/A 1979 3 2 1,808 $124 9,583 S 8834 Thatch Dr 0.6 mi 12-06-2019 N/A 1977 4 2 1,413 $127 7,405 T 7727 Autumn Blf 0.8 mi 07-26-2019 $186,000 1993 4 3 2,092 $89 5,662 U 8006 Cerezo 1.0 mi 02-24-2020 $183,500 2002 3 3 1,698 $108 6,534 V 9610 Fonthill Dr 0.9 mi 12-13-2019 N/A 1992 4 3 2,474 $119 7,840 W 8435 Chivalry St 0.8 mi 09-18-2019 N/A 1975 3 2 1,946 $123 9,583 X 7439 Elderberry St 0.7 mi 02-05-2020 $185,000 1976 3 2 1,360 $136 7,840

Newbie... trying to understand the language would like to start with this specific need .. tks

  • 1 Clarification request
  • 1. Picture of Manuel Lemos by Manuel Lemos - 3 years ago (2020-06-29) Reply

    Hello Mario,

    Is that data retrieved from a database, a CSV file, hardcoded in your site code, or some other source of data?

    Ask clarification

    1 Recommendation

    CMySqldbHTML: Display and edit MySQL table records in a Web page

    This recommendation solves the problem.
    This recommendation does not solve the problem.

    0

    Picture of Manuel Lemos by Manuel Lemos Reputation 23325 - 3 years ago (2020-07-04) Comment

    If your data is retrieved from a MySQL database, you may want to try this package that not only can list the data that is already in the tables, but also allow users to add, update and delete existing table records. It uses the MySQLi extension, so it works in the latest PHP versions.


    Recommend package
    : 
    :