Y
yusuf
Hi,
I have script that does a database lookup, constructs a string, emails
it and then prints it out to the browser. The lines that actually print
to the browser are the last lines in the script:
$|=1;
print "Content-type: text/html\n\n";
print "SQL:<br>$statement<br><br>";
print "Sent email:<br><br>$msgbody";
print "\n\n";
Can someone please tell me why I get a lot of the "premature end of
script" errors?
Thanks.
I have script that does a database lookup, constructs a string, emails
it and then prints it out to the browser. The lines that actually print
to the browser are the last lines in the script:
$|=1;
print "Content-type: text/html\n\n";
print "SQL:<br>$statement<br><br>";
print "Sent email:<br><br>$msgbody";
print "\n\n";
Can someone please tell me why I get a lot of the "premature end of
script" errors?
Thanks.