2011-09-07, 10:09 AM
syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home2/hackinor/public_html/inc/plugins/AuthoritysFirstPlugin.php on line 10
These are lines 9 10 11 and 12..
"name" => Global_Announcement)
"description" => Add_to_posts)
"website" => www.mybb.com)
"author" => Authority)
Some other code around it..
<?php
if(!defined("IN_MYBB"))
{
die("Direct initializtation of the file is not allowed.<br /> Please make sure IN_MYBB is defined.");
}
function myplugin_info()
{
return array(
"name" => Global_Announcement)
"description" => Add_to_posts)
"website" => www.mybb.com)
"author" => Authority)
?>
}
global $my_external_var;
function myFunction()
{
global $db
$new_var = $db->escape_string('<td class="thead"><strong> Hello Word</strong></td>');
}
function myFunction()
{
global $db, $message, $text;
$new_var = $db->escape_string($text);
$message ['message'] .= $new_var;
}
$post ['message'] .= <br /> Put the announment here";