Loading ...
Sorry, an error occurred while loading the content.

Re: [phpResource] How to import word doc file into mysql table using php coding

Expand Messages
  • Iqbal hossain
    1. Use MEDIUMBLOB datatype in mysql db. 2. $filep = fopen($filepath, r ); $filecontent = fread($filep , filesize($tmpName)); $filecontent =
    Message 1 of 2 , May 31, 2008
    • 0 Attachment
      1. Use MEDIUMBLOB datatype in mysql db.

      2.

      $filep = fopen($filepath, 'r');
      $filecontent = fread($filep , filesize($tmpName));
      $filecontent = addslashes($filepcontent);
      fclose($filep);

      3. Insert into Table_name values('$filecontent')


      Regards,
      Md. Iqbal Hossain
      http://www.SabaSafa.com
      Do you need a coder?

      --- On Sat, 5/31/08, Gangadhara Prasad <lampprogramming@...> wrote:
      From: Gangadhara Prasad <lampprogramming@...>
      Subject: [phpResource] How to import word doc file into mysql table using php coding
      To: "php-gurus" <php-gurus@yahoogroups.com>, "php-list" <php-list@yahoogroups.com>, "php4india" <php4india@yahoogroups.com>, "phpresource" <phpresource@yahoogroups.com>
      Date: Saturday, May 31, 2008, 8:57 AM

      Hi Experts,

      How to import word doc file into mysql table using php coding?

      Can you please me anyone.

      Thanks,
      Gangadhar


      Bollywood, fun, friendship, sports and more. You name it, we have it.

    Your message has been successfully submitted and would be delivered to recipients shortly.