XML data not being pulled into php

admin

Administrator
Staff member
Sorry for such an unusual question:

I have an XML file which I am trying to pull into a php page. Everything works and here is my issue.

The XML file has 15 children of which each is called in some way or another into a table. However, on the 4th call, the <description>Economics, Finance, and Management.</description> seems to get cut off on the 4th table for NO REASON (just reads agement.). I tried <description>Management.</description> and that worked; I tried <description>Finance, and Management.</description> and that worked; but anything else within just messed up the results on the webpage. I am not sure why this is doing this or how to fix it.

<tr><td width="110" align="right" valign="top" class="coursedesc"><b>Description:</b></td>
<td width="515" align="left" valign="top" class="coursetd"><?php echo $course_data[$a]["description"]; ?></td></tr>

the other 3 tables work fine -- but once it reads this one it just screws up that description piece -- non of the others are messed up and the other data elemets called from the XML file after this one piece are fine also.

Any ideas? PLEASE??? :rolleyes:

Anthony
 
Back
Top