How could I view results from db in HTML page?
Hi all,
I am querying the Mysql database with cgi-perl and want the output to be displayed in an HTML page? I am able to view the result but with the tags on when I compile. But I need to view the results in a browser. What should I do?
What are the prerequisites if any, I need to take care of?
Sorry if the question sounds stupid.
Would someone help me with a solution?
Thanks in advance.
Karthikeyan:confused:
Re: Query results in webpage:revisited
Hi nicc77,
I have the code sample_db.cgi in cgi-bin/ which is setup as ScriptAlias.
When I give the path of the program in a web-browser,it shows the program as a junk.When I tried compiling at the location, it displays the results just in between the mentioned tags. The program is only ordinary perl and not mod_perl.
Probably, this is because I am new to cgi-programming. Pls help me with some references for cgi-perl programming on the web.
With best regards.
Karthikeyan