I keep getting this error:
Parse error: parse error, unexpected $end in C:\Inetpub\vhosts\teen-terminal.com\httpdocs\forums\admincp\admin_advertising_management.php on line 242
Line 242 is the end of the file. I know that the problem is with the following code becuase I placed it in its own php file and it gave me the same error. I'm using the heredc code to insert this:
Parse error: parse error, unexpected $end in C:\Inetpub\vhosts\teen-terminal.com\httpdocs\forums\admincp\admin_advertising_management.php on line 242
Line 242 is the end of the file. I know that the problem is with the following code becuase I placed it in its own php file and it gave me the same error. I'm using the heredc code to insert this:
PHP:
$viewrow = <<<content
<tr>
<td align="center" class="row1" nowrap="nowrap"><b>{$rowid}</b></td>
<td align="center" class="row2" nowrap="nowrap"><b>{$rowstatus}</b></td>
<td align="center" class="row1" nowrap="nowrap"><b>{$showfromdate}</b></td>
<td align="center" class="row2" nowrap="nowrap"><b>{$showtodate}</b></td>
<td align="center" class="row1" nowrap="nowrap">
<b>{$rowitemname}</b>
<br>
//<a href="javascript:void();" onClick="return editItem($rowid);">Edit</a>
//<a href="javascript:void();" onClick="return deleteItem($rowid);">Delete</a>
<br>
</td>
<td align="center" class="row2" nowrap="nowrap"><b>{$rowadvertister}</b></td>
<td align="center" class="row1" nowrap="nowrap"><b>{$rowprice}</b></td>
<td align="center" class="row2" nowrap="nowrap"><b>{$rowemail}</b></td>
<td align="left" class="row1" nowrap="nowrap"><b>{$showcomments}</b></td>
</tr>
content;
print $viewrow;
Last edited:
















