September 3rd, 2000, 01:31 AM
in perl, I can use something like
print <<"HTML CODE1";
but how can I use php/Mysql to create web page?
I want read data form Mysql data base and use php to create html text file (the file name like webpage.html),
any advice would be geately appreciate.
September 3rd, 2000, 05:41 AM
Do you mean create a new file? of make a template to fill in from a database? - assuming the former, try...
$head="<HTML><TITLE>a new page !</TITLE>n<BODY>";
$body="<H1>(whispered ala Vincent Price)where none existed before</H1>";
<a href="newfile.htm">your new page</a>
September 4th, 2000, 09:34 AM
that is exactly what I want to know, realy appreacite for you help