I have a table in html which I need to convert to a database table for MySQL (I use HeidiSQL).
SO there are a few td tags and then a tr tag indicating a new record. How would I be able to insert them in the db table? DO I use preg_match? How would it be written.
preg_match_all('|id="(.*)">|U', $contents_of_page, $idout, PREG_SET_ORDER);
preg_match_all("|<[^>]+>(.*)</[^>]+>|U", $contents_of_page, $out, PREG_SET_ORDER);