I have a PHP script which works correctly on its own, however, when I integrate it with Jumi, I get:
I have successfully integrated .js files using Jumi on this same site, so I don't think it is an installation problem.Warning: Attempt to assign property of non-object in /home/boapubli/public_html/mambots/content/plugin_jumi.php on line 71
Here is the code on the page:
Using this code, I receive the above warning twice, and none of the page content displays.Page Text
{jumi [showmovies.php]}
{jumi [map.js]}
If I remove showmovies.php, and just leave map.js, everything loads fine.
Any thoughts are appreciated.

Here is the content of showmovies.php, if it is helpful:
<?php
//$theater_name=$_REQUEST['theater_name'];
$theater_name="Country Club Reel Theatres";
//$dlink = mysql_connect ---- removed for security reasons, public upload
if (!$dlink) {
die('Could not connect: ' . mysql_error());
}
mysql_select_db("boapubli_bmt", $dlink);
$query = "select * from theaters where Theater='$theater_name'";
//echo $query;
$rs=mysql_query($query) or die(mysql_error());
$aff=mysql_num_rows($rs);
echo "Number of movies : $aff <BR>";
?>
<table border="1" width=100%>
<tr>
<th> Movie</th><th>Timings</th>
</tr>
<?
for($t=0;$t<$aff;$t++)
{
$row = mysql_fetch_array($rs);
//$Theater = $row['Theater'];
$Address = $row['Address'];
$Telephone = $row['Telephone'];
$Movie = $row['Movie'];
$Times = $row['Times'];
echo "<tr><td> $Movie </td><td> $Times </td></tr";
}
?>