RE: [PHP] Is this possible? PHP and Microsoft Word
| From: | Jason Murray | Date: | Tue, 10 Oct 2000 23:59:54 +0000 |
| Subject: | RE: [PHP] Is this possible? PHP and Microsoft Word | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-19430@lists.php.net to get a copy of this message | ||
> I am writing an application in PHP4 where I want my users to
> design their own form using, for example, Microsoft Word. When they
> click on an appropriate button in the application, Word pops up with
> the form they created on their desktop PC and data from a MySQL database
> on the web server appended to it. I plan on giving them a set list of
> data names so they can pick and choose where they want the data to appear.
>
> I am not sure if this is even possible, but if so, please
> point me in the right direction.
PHP is a scripting language parsed by the web server when a page is
loaded from it. If you're designing a page in MS Word, and wanting
it to load in data, the page is never loaded from the web server,
regardless of where the MySQL database is located.
Better alternative, use Visual Basic if you really want to do this
in Word (you can get an ODBC driver for MySQL), or use web pages.
(Wouldn't Access be better for this anyway?)
Jason