RE: [PHP] HTML table to MySQL table conversion

From: Date: Thu, 27 Sep 2001 11:08:24 +0000
Subject: RE: [PHP] HTML table to MySQL table conversion
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68981@lists.php.net to get a copy of this message
Uff.. Don't envy you... Anyway, if someone (hopefully) was cuting&pasting the cells in you could do a combination of fopen/explode/regex to split the data into coma-separated values. For example, stripping out every HTML tag replacing it with a coma and a space will create you a dump file. Also, you could try using MS Excel or Access, if mr. Magic Microsoft Excel allows you to import data from an HTML table you could then export it from there as comma separated values and prepare yourself a dump file this way. There are ways, man. But be careful not to take more efforts for PHP solution that what it would be getting an intern guy/girl pasting the staff :-) Maxim Maletsky www.PHPBeginner.com -----Original Message----- From: RNie [mailto:respuesta@gmx.net] Sent: giovedì 27 settembre 2001 12.53 To: php-general@lists.php.net Subject: [PHP] HTML table to MySQL table conversion Hello there, Anyone has done this before? Would like to see some sample code to build a converter from HTML table to a MySql table. Someone put an enourmous amount of data in HTML tables and now we would like to put it in MySQL database. We would not like to do this manually. Thank you! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#68981) next »