I'm trying to include a php script that will echo back the same portfolio information to all of of the different pages of my site. (So when the portfolio changes I can change one page instead of twenty five)
This is an example of what has worked for other sections:
menu.php
<?php
echo '
<div align="center">
<font face="Verdana, Arial, Helvitica" size="2" color="#000000">
<a href="specials.php">Specials</a> |
<a href="hardware.php">Hardware</a> |
<a href="home_service.php">Home Service</a> |
<a href="internet.php">Internet</a> |
<a href="marketing.php">Marketing</a></font></div>
';
?>
but this snippet of html contains javascript, with I assume is closing off the echo call:
<?php
echo '
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="1" color="#000000">
Febuary 7, 2003:<br>WG Grinders
<a href="http://buckeyecomputers.com/grinders_logo.html" onclick="NewWindow(this.href,'name','240','100','no');return false;">[Flash Logo]</a><p>
Febuary 5, 2003:<br>BuckeyeComputers.com [Web Site]<p>
January 28, 2003:<br>Buckeye Computers <a href="http://buckeyecomputers.com/buckeye_print.html" onclick="NewWindow(this.href,'name1','620','500','no');return false;">[Print Marketing]</a>
</font></p>
';
?>
Is there a way to keep this javascript the way it is and still use echo or print?