Topic awaiting preservation: Novice Help Please (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 12-15-2003 03:25
Is there a way to create an html version of a dynamically created php site? These pages are created from an sql database through queries in a php form. Maybe a script of something? I need to place an html version of it on a cdrom to give to people. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 12-15-2003 04:36
Now you know why all the major sites (which are db driven) create static HTML or use URL Rewriting as oposed to dynamic ones with query strings, and use a nice google site search tool to allow users to find specific content. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-15-2003 04:55
WM: I think you missed the critical bit: quote:
|
Nervous Wreck (II) Inmate From: |
posted 12-15-2003 08:47
Right now it is a work in progress but I will let you look: |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 12-15-2003 17:10
Emps, |
Nervous Wreck (II) Inmate From: |
posted 12-16-2003 00:16
IS there an easy way to do such a thing other than each page by hand? |
Paranoid (IV) Inmate From: [s]underwater[/s] under-snow in Juneau |
posted 12-16-2003 04:35
You may want to try taking exporting the data stored in the relational database into an xml file (file1). Then write an HTML page that includes an iframe. Populate the iframe with a second xml document(file2) that gets an XQuery added to it(firstChild.nodeValue) by means of javascript and user input from the HTML page. This file2.xml will use the XQuery to pull the specific info. needed from file1.xml. |