Jump to content

Recommended Posts

Hi,

 

I'm trying to do a here doc. I want didn't pages to appear based on the user selection. So I have the heredoc in different functions. The issue I'm having is somewhere down the line it does not read my php code any longer.

 

So when I write <?php echo $variablename; ?> it won't interpret it. When you look at the source in the browser it writes the php code out and the php code shouldn't been seen in the browser.

 

Is it a problem with the quotes?

 

I'll include a little bit of code so you can see what I'm doing because it's way too much code to put here.

 

<?php

if(isset($_GET['id']) && !$_GET['id'] = "")
{

load_swf();
}
else
{
	load_thumbnails();
}

function load_thumbnails()
{

$thispage = $_SERVER['PHP_SELF'];

$form_page = <<<EOFORMPAGE
<HTML>
<HEAD>
<title>Online Library</title>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style type="text/css">
<!--
.style1 {font-family: Geneva, Arial, Helvetica, sans-serif}
.style2 {font-family: Geneva, Arial, Helvetica, sans-serif; font-weight: bold; }
body {
background-color: #FFFFFF;
margin-top: 0px;
margin-left: 0px;
}
a:link {
color: 666666;
}
a:visited {
color: 666666;
}
a:hover {
color: cccccc;
}
a:active {
color: cccccc;
}
-->
</style>

<script language="JavaScript">

<!-- Hide the script from old browsers --
  function surfto(form) 
{       
        var myindex=form.dest.selectedIndex
        if (myindex!=0){
        window.open(form.dest.options[myindex].value, "_self")};
}
// --End Hiding Here -->

</script>

</head>
<body onload="MM_preloadImages('images/accounting2.jpg','images/alternative medicine2.jpg','images/applied management2.jpg','images/AQUATIC ENGINEERING2.jpg','images/aviation management2.jpg','images/aviation science2.jpg','images/baking and pastry arts2.jpg','images/business administration2.jpg','images/computer animation design and drafting2.jpg','images/COMPUTER GRAPHICS AND DESIGN2.jpg','images/computer networking and security mgmt2.jpg','images/computer networking with emerging technologies2.jpg','images/computer programming2.jpg','images/construction management2.jpg','images/criminal justice2.jpg','images/crrime scene technology2.jpg','images/culinary arts2.jpg','images/diagnostic medical sonography2.jpg','images/elementary education2.jpg','images/fashion design and merchandising2.jpg','images/fire science2.jpg','images/health services2.jpg','images/health services administration2.jpg','images/homeland security2.jpg','images/massage therapy2.jpg','images/medical assisting2.jpg','images/medical billing and coding2.jpg','images/medical laboratory technology2.jpg','images/mgmt information systems2.jpg','images/NUCLEAR MEDICINE TECHNOLOGY2.jpg','images/physical therapy assistant2.jpg','images/pratical nurse2.jpg','images/professional aviation2.jpg','images/radiologic technology2.jpg','images/spa management2.jpg','images/sports medicine and fitness technology2.jpg','images/surgical technology2.jpg','images/video game design2.jpg','images/nursing2.jpg','images/occupational therapy assitant2.jpg','images/paralegal studies2.jpg','images/paramedical esthetician2.jpg','images/pharmacy technology2.jpg')">
<table width="674" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="674" bgcolor="#999999">

 

Thanks for any assistance you can give.

Link to comment
https://forums.phpfreaks.com/topic/66026-here-doc-issue/
Share on other sites

that's a lot of code to put here that's why I didn't but here it is:

 

<?php

if(isset($_GET['id']) && !$_GET['id'] = "")
{

load_swf();
}
else
{
	load_thumbnails();
}

function load_thumbnails()
{

$thispage = $_SERVER['PHP_SELF'];

$form_page = <<<EOFORMPAGE
<HTML>
<HEAD>
<title>Online Library</title>
<script type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<style type="text/css">
<!--
.style1 {font-family: Geneva, Arial, Helvetica, sans-serif}
.style2 {font-family: Geneva, Arial, Helvetica, sans-serif; font-weight: bold; }
body {
background-color: #FFFFFF;
margin-top: 0px;
margin-left: 0px;
}
a:link {
color: 666666;
}
a:visited {
color: 666666;
}
a:hover {
color: cccccc;
}
a:active {
color: cccccc;
}
-->
</style>

<script language="JavaScript">

<!-- Hide the script from old browsers --
  function surfto(form) 
{       
        var myindex=form.dest.selectedIndex
        if (myindex!=0){
        window.open(form.dest.options[myindex].value, "_self")};
}
// --End Hiding Here -->

</script>

</head>
<body onload="MM_preloadImages('images/accounting2.jpg','images/alternative medicine2.jpg','images/applied management2.jpg','images/AQUATIC ENGINEERING2.jpg','images/aviation management2.jpg','images/aviation science2.jpg','images/baking and pastry arts2.jpg','images/business administration2.jpg','images/computer animation design and drafting2.jpg','images/COMPUTER GRAPHICS AND DESIGN2.jpg','images/computer networking and security mgmt2.jpg','images/computer networking with emerging technologies2.jpg','images/computer programming2.jpg','images/construction management2.jpg','images/criminal justice2.jpg','images/crrime scene technology2.jpg','images/culinary arts2.jpg','images/diagnostic medical sonography2.jpg','images/elementary education2.jpg','images/fashion design and merchandising2.jpg','images/fire science2.jpg','images/health services2.jpg','images/health services administration2.jpg','images/homeland security2.jpg','images/massage therapy2.jpg','images/medical assisting2.jpg','images/medical billing and coding2.jpg','images/medical laboratory technology2.jpg','images/mgmt information systems2.jpg','images/NUCLEAR MEDICINE TECHNOLOGY2.jpg','images/physical therapy assistant2.jpg','images/pratical nurse2.jpg','images/professional aviation2.jpg','images/radiologic technology2.jpg','images/spa management2.jpg','images/sports medicine and fitness technology2.jpg','images/surgical technology2.jpg','images/video game design2.jpg','images/nursing2.jpg','images/occupational therapy assitant2.jpg','images/paralegal studies2.jpg','images/paramedical esthetician2.jpg','images/pharmacy technology2.jpg')">
<table width="674" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="674" bgcolor="#999999"><table width="600" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
      <tr>
        <td width="600" bgcolor="#FFFFFF"><div align="left">
              <table border="0" cellspacing="0" width="600" cellpadding="0" height="140">
                <tr>
                  <td width="600" valign="top" align="left" height="132" bgcolor="#800000"><img src="images/online_librarysm.jpg" width="800" height="168" /></td>
                </tr>
                <tr>
                  <td width="600" align="center" valign="top" bgcolor="#C0C0C0">
			  <form name="myform" id="myform">    
                        <div align="center">
                               <select name="dest" id="dest" size="1">
                              <option selected="selected" value="">Select Category</option>
                              <option value="heredoc2.php?id=accounting.swf">Accounting</option>
                              <option value="books.php?id=alternative medicine.swf">Alternative Medicine</option>
                              <option value="">Applied Management</option>
                              <option value="">Aquatic Engineering</option>
                              <option value="books.php?id=baking and pastry arts.swf">Baking & Pastry Arts</option>
                              <option value="books.php?id=business administration.swf">Business Administration</option>
                              <option value="books.php?id=computer animation design and drafting.swf">Computer Animation Desgin & Drafting</option>
                              <option value="books.php?id=computer graphics.swf">Computer Graphics</option>
                              <option value="books.php?id=computer networking.swf">Computer Networking</option>
                              <option value="books.php?id=computer networking wermerging.swf">Computer Networking with Emerging Technologies</option>
                              <option value="books.php?id=computer programming.swf">Computer Programming</option>
                              <option value="">Computer Animation</option>
                              <option value="books.php?id=crime scene technology.swf">Crime Scene Technology</option>
                              <option value="books.php?id=criminal justice.swf">Criminal Justice</option>
                              <option value="">Culinary Arts</option>
                              <option value="">Diagnostic Medical Sonography</option>
                              <option value="">Elementary Education</option>
                              <option value="">EMT</option>
                              <option value="books.php?id=fashion design and merchandising.swf">Fashion Design & Merchandising</option>
                              <option value="books.php?id=fire science.swf">Fire Science</option>
                              <option value="">GE Biology</option>
                              <option value="">GE Federal Agencies</option>
                              <option value="">GE History</option>
                              <option value="">GE Literature</option>
                              <option value="">GE Mathematics</option>
                              <option value="">Health Services</option>
                              <option value="books.php?id=health services administration.swf">Health Service Administration</option>
                              <option value="books.php?id=HOMELAND SECURITY.swf">Homeland Security</option>
                              <option value="books.php?id=Information Technology.swf">Information Technology</option>
                              <option value="books.php?id=Management Information Systems.swf">Management Information Systems</option>
                              <option value="books.php?id=Massage Assisting.swf">Massage Assisting</option>
                              <option value="books.php?id=Massage Therapy.swf">Massage Therapy</option>
                              <option value="">Medical Assisting</option>
                              <option value="">Medical Billing & Coding</option>
                              <option value="">Medical Laboratory</option>
                              <option value="books.php?id=Nuclear Medicine.swf">Nuclear Medicine</option>
                              <option value="books.php?id=Nursing.swf">Nursing</option>
                              <option value="books.php?id=Occupational Therapy.swf">Occupational Therapy</option>
                              <option value="">Occupation Therapy Assistant</option>
                              <option value="books.php?id=Paralegal Studies.swf">Paralegal Studies</option>
                              <option value="">Paramedical Esthetician</option>
                              <option value="">Pharmacy Technology</option>
                              <option value="books.php?id=Physical Therapy Assistant.swf">Physical Therapy Assistant</option>
                              <option value="books.php?id=Radiologic Technology.swf">Radiologic Technology</option>
                              <option value="books.php?id=sports medicine and fitness technology.swf">Sports Medicine & Fitness Technology</option>
                              <option value="books.php?id=Surgical Technology.swf">Surgical Technology</option>
                              <option value="books.php?id=ultrasound.swf">Ultrasound</option>
                              <option value="books.php?id=video game design.swf">Video Game Design</option>
                            </select>
                          <input name="button" type="button" onclick="surfto(this.form)" value="Go" />
                        </div>
                  </form></td>
                </tr>
              </table>
            </div>
          <p> </p>
          <p align="center" class="style1">Please select the book with your major to view our resources or select the first letter<br />
            of your major to be directed to your degree program. <br />
            <br />
            <strong class="style2"><a href="books.htm#ab">A</a>  <a href="books.htm#ab">B</a>  <a href="books.htm#bc">C</a>  <a href="books.htm#cf">D</a>  <a href="books.htm#cf">E</a>  <a href="books.htm#fn">F</a>  <a href="books.htm#fn">G</a>  <a href="books.htm#gm">H</a>  <a href="books.htm#gm">I</a>  <a href="books.htm#gm">J</a>  <a href="books.htm#gm">K</a>  <a href="books.htm#gm">L</a>  <a href="books.htm#gm">M</a>  <a href="books.htm#mp">N</a>  <a href="books.htm#mp">O</a>  <a href="books.htm#mp">P</a>  <a href="books.htm#ps">Q</a>  <a href="books.htm#ps">R</a>  <a href="books.htm#ps">S</a>  <a href="books.htm#sz">T</a>  <a href="books.htm#sz">U</a>  <a href="books.htm#sz">V</a>  <a href="books.htm#sz">W</a>  <a href="books.htm#sz">X</a>  <a href="books.htm#sz">Y</a>  <a href="books.htm#sz">Z</a></strong> </p>
          <p class="style1"> </p>
          <p class="style2">  <a name="ab" id="ab"></a>A - B </p>
          <p><a href="heredoc2.php?id=accounting.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('accounting','','images/accounting2.jpg',1)"><img src="images/accounting.jpg" alt="1" name="accounting" width="78" height="100" border="0" id="accounting" /></a> <a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('alt medicine','','images/alternative medicine2.jpg',1)"><img src="images/alternative medicine.jpg" alt="2" name="alt medicine" width="76" height="100" border="0" id="alt medicine" /></a> <a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('applied mgmt','','images/applied management2.jpg',1)"><img src="images/applied management.jpg" alt="3" name="applied mgmt" width="72" height="100" border="0" id="applied mgmt" /></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('aquatic engineering','','images/AQUATIC ENGINEERING2.jpg',1)"><img src="images/AQUATIC ENGINEERING.jpg" alt="4" name="aquatic engineering" width="82" height="100" border="0" id="aquatic engineering" /></a> <a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('aviation mgmt','','images/aviation management2.jpg',1)"><img src="images/aviation management.jpg" alt="5" name="aviation mgmt" width="70" height="100" border="0" id="aviation mgmt" /></a> <a href="aviation_science.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('aviation science','','images/aviation science2.jpg',1)"><img src="images/aviation science.jpg" alt="6" name="aviation science" width="73" height="100" border="0" id="aviation science" /></a><a href="books.php?id=baking and pastry arts.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('baking','','images/baking and pastry arts2.jpg',1)"><img src="images/baking and pastry arts.jpg" alt="7" name="baking" width="81" height="100" border="0" id="baking" /></a></p>
          <p><img src="images/grey_strip.jpg" alt="9" width="800" height="1" /></p>
          <p class="style2">  <a name="bc" id="bc"></a>B - C </p>
          <p><a href="books.php?id=business administration.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('business admin','','images/business administration2.jpg',1)"><img src="images/business administration.jpg" alt="2" name="business admin" width="74" height="100" border="0" id="business admin" /></a><a href="books.php?id=computer animation design and drafting.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('cadd','','images/computer animation design and drafting2.jpg',1)"><img src="images/computer animation design and drafting.jpg" alt="3" name="cadd" width="71" height="100" border="0" id="cadd" /></a><a href="books.php?id=computer graphics.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('CGAD','','images/COMPUTER GRAPHICS AND DESIGN2.jpg',1)"><img src="images/COMPUTER GRAPHICS AND DESIGN.jpg" alt="4" name="CGAD" width="75" height="100" border="0" id="CGAD" /></a><a href="books.php?id=computer networking.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('CNSM','','images/computer networking and security mgmt2.jpg',1)"><img src="images/computer networking and security mgmt.jpg" alt="5" name="CNSM" width="75" height="100" hspace="10" border="0" id="CNSM" /></a><a href="books.php?id=computer networking.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('CNWET','','images/computer networking with emerging technologies2.jpg',1)"><img src="images/computer networking with emerging technologies.jpg" alt="6" name="CNWET" width="81" height="100" border="0" id="CNWET" /></a><a href="books.php?id=computer programming.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('computer_programming','','images/computer programming2.jpg',1)"><img src="images/computer programming.jpg" alt="7" name="computer_programming" width="76" height="100" border="0" id="computer_programming" /></a><a href="books.php?id=construction_mgmt.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('construction','','images/construction management2.jpg',1)"><img src="images/construction management.jpg" alt="8" name="construction" width="72" height="100" border="0" id="construction" /></a><a href="criminal_justice.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('criminal justice','','images/criminal justice2.jpg',1)"><br />
            </a></p>
          <p><img src="images/grey_strip.jpg" alt="7" width="800" height="1" /></p>
          <p class="style2">  <a name="cf" id="cf"></a> C - F </p>
          <p><a href="dms.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('DMS','','images/diagnostic medical sonography2.jpg',1)"></a><a href="books.php?id=criminal justice.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('criminal justice','','images/criminal justice2.jpg',1)"><img src="images/criminal justice.jpg" alt="9" name="criminal justice" width="75" height="100" hspace="6" border="0" id="criminal justice" /></a><a href="books.php?id=crime scene technology.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('CST','','images/crrime scene technology2.jpg',1)"><img src="images/crrime scene technology.jpg" alt="10" name="CST" width="72" height="100" border="0" id="CST" /></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('CA','','images/culinary arts2.jpg',1)"><img src="images/culinary arts.jpg" alt="11" name="CA" width="70" height="100" border="0" id="CA" /></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('dms','','images/diagnostic medical sonography2.jpg',1)"><img src="images/diagnostic medical sonography.jpg" alt="12" name="dms" width="72" height="100" border="0" id="dms" /></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ee','','images/elementary education2.jpg',1)"><img src="images/elementary education.jpg" alt="13" name="ee" width="76" height="100" hspace="12" border="0" id="ee" /></a><a href="books.php?id=fashion design and merchandising.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('FDAM','','images/fashion design and merchandising2.jpg',1)"><img src="images/fashion design and merchandising.jpg" alt="14" name="FDAM" width="74" height="100" border="0" id="FDAM" /></a><a href="books.php?id=fire science.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('fire science','','images/fire science2.jpg',1)"><img src="images/fire science.jpg" alt="15" name="fire science" width="74" height="100" border="0" id="fire science" /></a><br />
            </p>
          <p><img src="images/grey_strip.jpg" alt="6" width="800" height="1" /></p>
          <p class="style2">  <a name="gm" id="gm"></a>G - M </p>
          <p><a href="mt.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MT','','images/massage therapy2.jpg',1)"></a><a href="mlt.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('mlt','','images/medical laboratory technology2.jpg',1)"></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('health services','','images/health services2.jpg',1)"><img src="images/health services.jpg" alt="17" name="health services" width="74" height="100" border="0" id="health services" /></a><a href="books.php?id=health services administration.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('HSA','','images/health services administration2.jpg',1)"><img src="images/health services administration.jpg" alt="16" name="HSA" width="74" height="100" border="0" id="HSA" /></a><a href="books.php?id=HOMELAND SECURITY.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('HS','','images/homeland security2.jpg',1)"><img src="images/homeland security.jpg" alt="18" name="HS" width="72" height="100" border="0" id="HS" /></a><a href="books.php?id=Massage Therapy.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('mt','','images/massage therapy2.jpg',1)"><img src="images/massage therapy.jpg" alt="19" name="mt" width="72" height="100" border="0" id="mt" /></a><a href="books.php?id=Medical Assisting.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ma','','images/medical assisting2.jpg',1)"><img src="images/medical assisting.jpg" alt="20" name="ma" width="71" height="100" hspace="12" border="0" id="ma" /></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MBC','','images/medical billing and coding2.jpg',1)"><img src="images/medical billing and coding.jpg" alt="21" name="MBC" width="73" height="100" border="0" id="MBC" /></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('mlt','','images/medical laboratory technology2.jpg',1)"><img src="images/medical laboratory technology.jpg" alt="22" name="mlt" width="70" height="100" border="0" id="mlt" /></a><a href="cnsm.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('CNSM','','images/computer networking and security mgmt2.jpg',1)"><span class="style1"></span></a><br />
            </p>
          <p><img src="images/grey_strip.jpg" width="800" height="1" /></p>
          <p class="style2">  <a name="mp" id="mp"></a>M - P </p>
          <p><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MIS','','images/mgmt information systems2.jpg',1)"><img src="images/mgmt information systems.jpg" alt="23" name="MIS" width="79" height="100" border="0" id="MIS" /></a><a href="books.php?id=Nuclear Medicine.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('NMT','','images/NUCLEAR MEDICINE TECHNOLOGY2.jpg',1)"><img src="images/NUCLEAR MEDICINE TECHNOLOGY.jpg" alt="24" name="NMT" width="71" height="100" border="0" id="NMT" /></a><a href="books.php?id=Nursing.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('nursing','','images/nursing2.jpg',1)"><img src="images/nursing.jpg" alt="25" name="nursing" width="70" height="100" border="0" id="nursing" /></a><a href="books.php?id=Occupational Therapy.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ota','','images/occupational therapy assitant2.jpg',1)"><img src="images/occupational therapy assitant.jpg" alt="26" name="ota" width="72" height="100" border="0" id="ota" /></a><a href="books.php?id=Paralegal Studies.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ps','','images/paralegal studies2.jpg',1)"><img src="images/paralegal studies.jpg" alt="27" name="ps" width="74" height="100" hspace="12" border="0" id="ps" /></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('pe','','images/paramedical esthetician2.jpg',1)"><img src="images/paramedical esthetician.jpg" alt="28" name="pe" width="77" height="100" border="0" id="pe" /></a><a href="book.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('pt','','images/pharmacy technology2.jpg',1)"><img src="images/pharmacy technology.jpg" alt="29" name="pt" width="72" height="100" border="0" id="pt" /></a></p>
          <p><img src="images/grey_strip.jpg" alt="2" width="800" height="1" /></p>
          <p><a href="pn.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('pratical nurse','','images/pratical nurse2.jpg',1)"><span class="style1"></span></a><span class="style2"> <a name="ps" id="ps"></a> P - S </span></p>
          <p><span class="style1"><a href="books.php?id=Physical Therapy Assistant.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('pta','','images/physical therapy assistant2.jpg',1)"><img src="images/physical therapy assistant.jpg" alt="30" name="pta" width="74" height="100" border="0" id="pta" /></a></span><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('pratical nurse','','images/pratical nurse2.jpg',1)"><img src="images/pratical nurse.jpg" alt="31" name="pratical nurse" width="74" height="100" border="0" id="pratical nurse" /></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('pro_aviation','','images/professional aviation2.jpg',1)"><img src="images/professional aviation.jpg" alt="32" name="pro_aviation" width="75" height="100" border="0" id="pro_aviation" /></a><a href="rt.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('RT','','images/radiologic technology2.jpg',1)"></a><a href="books.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('sm','','images/spa management2.jpg',1)"><img src="images/spa management.jpg" alt="34" name="sm" width="73" height="100" border="0" id="sm" /></a><a href="books.php?id=sports medicine and fitness technology.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('SMFT','','images/sports medicine and fitness technology2.jpg',1)"><img src="images/sports medicine and fitness technology.jpg" alt="35" name="SMFT" width="75" height="100" border="0" id="SMFT" /></a><a href="books.php?id=Surgical Technology.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ST','','images/surgical technology2.jpg',1)"><img src="images/surgical technology.jpg" alt="36" name="ST" width="70" height="100" border="0" id="ST" /></a></p>
          <p><img src="images/grey_strip.jpg" alt="4" width="800" height="1" /></p>
          <p><span class="style2"> <a name="sz" id="sz"></a>S - Z </span></p>
          <p><a href="books.php?id=video game design.swf" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('VGD','','images/video game design2.jpg',1)"><img src="images/video game design.jpg" alt="37" name="VGD" width="77" height="100" border="0" id="VGD" /></a></p></td>
      </tr>
    </table>
    <p> </p>
    <p> </p></td></tr>
</table>
</body></HTML>
EOFORMPAGE;
echo($form_page);
}

Link to comment
https://forums.phpfreaks.com/topic/66026-here-doc-issue/#findComment-331894
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.