hi i m working on a site which has more than 1500 static html article pages. i need to add those articles data to mysql. one way i know is to manually copy and paste. is there any other solution. vineet
if its merely copying html content and inserting into mysql, then write a script which will read the file and insert / update the content in mysql.
hi mastermunj can you provide litle idea which function will be used to read the file. any reference. vineet
there are various ways to read file.. simplest is file_get_contents, refer below url for it.. http://www.php.net/manual/en/function.file-get-contents.php
thanks mastermunj i will read it and work on it. just a last clarification that it will fetch everything that is on that page in text format including the menus etc. vineet