Chris Spectre
New member
Have been left in an unfortunate position of having to rectify a webscript after the creator had to go abroad suddenly without completing it properly.
I think i've found the problem but need the following advice:
In PHP, what is the difference between '....' and "...."
Example:
<td width="39%"><img src="<?PHP echo $pic_folder."/".$pic2.".JPG"; ?>" width="320" height="220" /></td>
Compared to:
<td width="39%"><img src='<?PHP echo $pic_folder."/".$pic2.".JPG"; ?>' width="320" height="220" /></td>
Thanks
Thanks for all your answers. Renchi, the problem is this page is a customer bill template written in both php and html. The template has been working fine until recently when a third image was added to the back of the bill.
I downloaded the php page and renamed it to html then viewed it in my browser.
On the front of the bill there are two large pics, one of them showed as a large blank (as it's on my local machine) but the second one displayed as a small blank with coding next to it, as did the small pic on the back of the bill.
Someting has been throwing the template out since that small pic was added which causes the end of one side to be printed at the top of the other, subsequently one customer bill gets part of a second customer bill on it.
Was assuming this to be the problem.
I think i've found the problem but need the following advice:
In PHP, what is the difference between '....' and "...."
Example:
<td width="39%"><img src="<?PHP echo $pic_folder."/".$pic2.".JPG"; ?>" width="320" height="220" /></td>
Compared to:
<td width="39%"><img src='<?PHP echo $pic_folder."/".$pic2.".JPG"; ?>' width="320" height="220" /></td>
Thanks
Thanks for all your answers. Renchi, the problem is this page is a customer bill template written in both php and html. The template has been working fine until recently when a third image was added to the back of the bill.
I downloaded the php page and renamed it to html then viewed it in my browser.
On the front of the bill there are two large pics, one of them showed as a large blank (as it's on my local machine) but the second one displayed as a small blank with coding next to it, as did the small pic on the back of the bill.
Someting has been throwing the template out since that small pic was added which causes the end of one side to be printed at the top of the other, subsequently one customer bill gets part of a second customer bill on it.
Was assuming this to be the problem.