Dear,
I have a .txt file, ( it contains an html code for a banner) so when this file is included a banner appears on the website.
I need to know how to read this .txt file from my .php file ( php code) and let the banner appears in a chosen table on the website.
for an image Banner, I insert it this way:
if($type=='gif/jpeg')
print"<br>
<table width=\"150\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td>
<img src=\"$image\" width=\"$width\" height=\"$height\" border=\"0\" title=\"$link\" alt=\"$link\" align=\"middle\">
</td>
</tr>";
So i need to know how to insert when the type is script ( .txt file)
Thank you