Redirected from inc-functions-htmltable-php Accueil Features Demos Download Installation User Manual Developer Manual Relation function Credits

blabla

inc-functions-htmltabletofields-php

htmltabletofields(url, optional index=0) reads a html table of a remote page into fields

Use this to integrate public data into you database.

The funbction gets the page, looks for a html table and extracts fields inside the TD tags. If there are TH tags, these will be used for field names. If not, the first row will be used for column names.

Example: Liste_des_villes_par_population returns the table in the such named Wikipedia page.

File structure inc folder inc/functions folder