Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
go ahead... be a heretic
 
PerlMonks  

Re: Integration of SQL Search Results Into An Existing HTML Template

by Jim (Curate)
on Sep 20, 2013 at 23:14 UTC ( #1055082=note: print w/ replies, xml ) Need Help??


in reply to Integration of SQL Search Results Into An Existing HTML Template

Your mission is easily accomplished by simply blending the HTML markup and the cached search result data together. You do this by reading the two files either simultaneously or successively and incorporating the contents of one into the other. This is a pretty standard scripting task, so it shouldn't be difficult.

(It's Perl, not PERL.)


Comment on Re: Integration of SQL Search Results Into An Existing HTML Template
Re^2: Integration of SQL Search Results Into An Existing HTML Template
by Milti (Acolyte) on Sep 20, 2013 at 23:32 UTC

    The cgi I'm using is intended to generate an html page and output it to the inquirer's browser on the fly. I want to immediately display the search results but I want to open my template (to write to it and save as a different file. Then open the new file and display it. I haven't been able to get the SQL results to write to that file. They are simply displayed on my browser. Historically I have been able to create an array of files contained in a directory, for instance, and have the elements printed on a contents template. How do I get the SQL results and not have them displayed immediately?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055082]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-04-21 01:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls