07-17-2002, 04:05 PM
Let's say I write a php function which is processing a file, and the viewer has selected from a form such that my file pointer now points to a certain record in the file. In this php function I want to take the contents of that record and dump it into an html template and show the viewer right then and there how it will look as a web page - I supposing by showing the page in a popup. Can I call up a popup in the middle of php code like that? How can I get the record contents into that html file that will be in the popup? Do I have to save it in an external file and then have an include in the html template? Or is there some much easier way to do all this?