[RESOLVED] Printing Problem
PHP Code:
<?PHP
//-- 画像とシステム名の表示 --
//======画面表示======
print "<TABLE ALIGN='center' CELLPADDING='0' CELLSPACING='0'>"."\n";
print " <TR>"."\n";
print " <TD ALIGN='center' WIDTH='830'><IMG SRC='images/binus.gif' BORDER='0'></TD>"."\n";
print " </TR>"."\n";
print "</TABLE>"."\n";
print "<P ALIGN='center'><FONT CLASS='title'>" . $strTitle . "</FONT></P>" ."\n";
?>
I have this script here... and could anyone tell me what's wrong with it..
I mean in windows it works perfectly and the image tag shows the image correctly...
but now that it is deployed in linux the image tag won't show... anyone please help. :(
Re: [RESOLVED] Printing Problem
Yeah I totally agree.
But then the whole content as you see there is in a single file which is included on other files with this command
<?PHP include_once('InsertImg.php'); ?>
Would that still be ok using your suggestion I mean?
Re: [RESOLVED] Printing Problem
Quote:
Originally Posted by visualAd
Also, notice how all the HTML tag names and attributes are lower-case and attribute values are enclosed in double quotes. If you want this to validate as XHTML, you must make sure HTML conforms to those rules.
You should see the entire code.. I had a hell of a time converting everything... first asp to php.. then vbscipt to javascript (this is quite annoying this part what with all the names and automatic function assignment based on names in vbscript)... and then to be bothered with HTML.. ahahaha.. all their tags are almost like that... :(
Re: [RESOLVED] Printing Problem
Quote:
Originally Posted by oceanebelle
Yeah I totally agree.
But then the whole content as you see there is in a single file which is included on other files with this command
<?PHP include_once('InsertImg.php'); ?>
Would that still be ok using your suggestion I mean?
When you use include the parser goes into HTML mode. So it is toatlly OK to include files like that.
Re: [RESOLVED] Printing Problem
Quote:
Originally Posted by visualAd
When you use include the parser goes into HTML mode. So it is toatlly OK to include files like that.
Really?!.. I didn't read that in dox... or perhaps I misread or skipped it or something.. but really the dox aren't that in depth on explaining things...
Thanks visualAd! :D