So that statement would actually open up the MS Word document and search
it for the keywords specified?

-----Original Message-----
From: Dan Brunner [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 9:34 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Searching Documents


Hello!!!

Use LIKE in your Select statement...Like this!!


$sql = "Select File_Name From Table2 WHERE File_Name LIKE '%$Search%'";

$Search would come from a form...


Dan


On Friday, February 8, 2002, at 09:06 AM, [EMAIL PROTECTED] wrote:

> I was wondering if there is a way to search documents.
>
> Scenario:
>
> I have a application where it uploads MS Word documents to a server
and
> holds the documents location in the database.  What I want is to be
> able to
> search those Word documents via keywords.
>
> Is this possible with PHP?
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to