BB code is going to the page, something is stopping it
<p>So I was told there seems to be some sort of HTML blocking the code on my forum page. Which is:</p>

<pre><code>$min=$_GET['min'];
$id=$_GET['id'];

$userinfo = mysql_fetch_array(mysql_query("SELECT * FROM 8888 WHERE username='$username'"));
$rank = $userinfo[rank];

$sortt = mysql_fetch_array(mysql_query("SELECT * FROM 98888 WHERE id = '$id'"));
$sortav = mysql_fetch_array(mysql_query("SELECT * FROM 98888 WHERE username = '$sortt[postedby]'"));

$links = mysql_fetch_array(mysql_query("SELECT * FROM 988888 WHERE id = '$sortt[board]'"));


$file = "staff";
if ($links[filed] == $file AND $rank &lt; 5)
{
     die("&lt;center&gt;You can not view this topic.");
}



echo "&lt;center&gt;&lt;a href=\"$baseurl/forum/forum.php\"&gt;Boards&lt;/a&gt; || &lt;a href=\"$baseurl/forum/add_topic.php\"&gt;Add Topic&lt;/a&gt;  || &lt;a href=\"$baseurl/forum/preferences.php\"&gt;Preferences&lt;/a&gt; || &lt;a href=\"$baseurl/forum/board.php?id=$sortt[board]\"&gt;$links[name]&lt;/a&gt;&lt;p&gt;&lt;/center&gt;";



if ($rank &gt;= 5)
{

    $deletetopic = "[&lt;a href=\"$baseurl/forum/delete_topic.pro.php?topic=$sortt[id]\"&gt;Delete Topic&lt;/a&gt;]&lt;br&gt;[&lt;a href=\"$baseurl/forum/move_topic.php?topic=$sortt[id]\"&gt;Move Topic&lt;/a&gt;]";
}

$fftime = date("H:i",$sortt[date]); 
$ffdate = date("M j Y",$sortt[date]); 
$fftitle = smiliesonly($sortt[title]); 
$ffcontent = forumbb($sortt[content]); 
$ffcontent = nl2br($ffcontent);
$memberrank = mysql_fetch_array(mysql_query("SELECT * FROM 988888 WHERE username='$username'"));
$rankage = $memberrank[rank];
$exhead = BBCODE($sortav[neohtml]);
$exsig = BBCODE($sortav[siggy]);

$exhead = str_replace("This is how your post will look on the Neoboards.", "$ffcontent", $exhead);



if (!$sortav[neohtml] == "" AND $sortav[siggy] == "")
{
     $cont = "$exhead";
}

if ($sortav[neohtml] == "" AND !$sortav[siggy] == "")
{
     $cont = "$ffcontent &lt;p&gt;$exsig";
}

if (!$sortav[neohtml] == "" AND !$sortav[siggy] == "")
{
     $cont = "$exhead &lt;p&gt;$exsig";
}

if ($sortav[neohtml] == "" AND $sortav[siggy] == "")
{
     $cont = "$ffcontent ";
}

$memberonline = mysql_fetch_array(mysql_query("SELECT * FROM 988888 WHERE username='$sortt[postedby]'"));
if ($memberonline[laston] &gt;= $timestamp)
{$online = "(&lt;FONT COLOR=\"#669900\"&gt;Online&lt;/FONT&gt;)";}

if ($memberonline[laston] &lt; $timestamp)
{$online = "(&lt;FONT COLOR=\"#CC3333\"&gt;Offline&lt;/FONT&gt;)";}
$job = mysql_fetch_array(mysql_query("SELECT * FROM jobs WHERE id='$memberonline[rank]'"));


echo "&lt;center&gt;&lt;table width=\"635\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\" style=\"border-top: 1pt solid black;border-bottom: 1pt solid black;border-left: 1pt solid black;border-right: 1pt solid black; \"&gt;
  &lt;tr&gt;
 &lt;td width=\"154\" valign=\"middle\" style=\"border-bottom: 1pt solid black;border-right: 1pt solid black; background-color:#5ed4bf;\"&gt;&lt;center&gt;
 Posted By
 &lt;/center&gt;&lt;/td&gt;
    &lt;td valign=\"middle\" style=\"border-bottom: 1pt solid black;background-color:#5ed4bf;\"&gt;&lt;center&gt;
      $fftitle
    &lt;/center&gt;      &lt;center&gt;
    &lt;/center&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
    &lt;td width=\"154\" valign=\"middle\" style=\"border-bottom: 1pt solid black;border-right: 1pt solid black; background-color:#f4f4f4;\"&gt;&lt;center&gt;
      &lt;p&gt;&lt;img src=\"$sortav[avatar]\"&gt;&lt;br&gt;$sortt[postedby] $online&lt;br&gt;
          $ffdate @ $fftime NST&lt;br&gt;[&lt;a href=\"$baseurl/forum/report_topic.php?topic=$id\"&gt;Report Topic&lt;/a&gt;]&lt;br&gt;$deletetopic&lt;/p&gt;
    &lt;/center&gt;&lt;/td&gt;
    &lt;td valign=\"top\" style=\"border-bottom: 1pt solid black; background-color:#f4f4f4;\"&gt;$cont
      &lt;center&gt;
     &lt;/center&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=\"2\" style=\"background-color:#5ed4bf;\" &gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;";



$num = mysql_num_rows(mysql_query("SELECT id FROM 988888 WHERE topic = '$id'"));


echo "&lt;center&gt;&lt;table width=\"635\" border=\"0\" cellspacing=\"0\" cellpadding=\"4\" style=\"border-top: 1pt solid black;border-bottom: 1pt solid black;border-left: 1pt solid black;border-right: 1pt solid black; \"&gt;
  &lt;tr&gt;
 &lt;td width=\"108\" valign=\"middle\" style=\"border-bottom: 1pt solid black;border-right: 1pt solid black; background-color:#5ed4bf;\"&gt;&lt;center&gt;
 Posted By
 &lt;/center&gt;&lt;/td&gt;
    &lt;td width=\"450\" valign=\"middle\" style=\"border-bottom: 1pt solid black;background-color:#5ed4bf;\"&gt;&lt;center&gt;Comment&lt;/center&gt;&lt;/td&gt;

  &lt;/tr&gt;";


if ($num &lt;= 0)
{
    echo "

&lt;tr&gt;
    &lt;td colspan=\"4\" style=\"border-bottom: 1pt solid black; background-color:#f4f4f4;\" &gt;&lt;center&gt;There are no replies on this topic :(&lt;/center&gt;&lt;/td&gt;
  &lt;/tr&gt;";
}


if (!$min) { $min = 0; }
$max = $min + 30;
$sort = mysql_query("SELECT * FROM 988888 WHERE 988888 = '$id' ORDER BY id LIMIT $min,30");
while($sort2 = mysql_fetch_array($sort))


{
if (!$min) { $min = 0; }
$max = $min + 30;


{



$x = 0;





if ($num &gt;= 1)



echo "&lt;center&gt;\n";

 if($sort2[id])

{

$numreplies = mysql_num_rows(mysql_query("SELECT * FROM 988888 WHERE 988888 '$sort2[id]'"));
$sort4 = mysql_fetch_array(mysql_query("SELECT * FROM 988888 WHERE 988888 = '$sort2[id]'"));
$sortav2 = mysql_fetch_array(mysql_query("SELECT * FROM 988888 WHERE 988888 = '$sort2[postedby]'"));


if ($rank &gt;= 5)
{

    $deletereply = "[&lt;a href=\"$baseurl/forum/delete_reply.pro.php?topic=$sort2[topic]&amp;reply=$sort2[id]\"&gt;Delete Reply&lt;/a&gt;]";

}

$ftime = date("H:i",$sort2[date]); 
$fdate = date("M j Y",$sort2[date]); 
$updated = date("M j Y",$sort4[date]); 
$fmain = forumbb($sort2[content]); 

$exhead2 = BBCODE($sortav2[neohtml]);
$exsig2 = BBCODE($sortav2[siggy]);

$exhead2 = str_replace("This is how your post will look on the Neoboards.", "$fmain", $exhead2);


if (!$sortav2[neohtml] == "" AND $sortav2[siggy] == "")
{
     $cont2 = "$exhead2";
}

if ($sortav2[neohtml] == "" AND !$sortav2[siggy] == "")
{
     $cont2 = "$fmain &lt;p&gt;$exsig2";
}

if (!$sortav2[neohtml] == "" AND !$sortav2[siggy] == "")
{
     $cont2 = "$exhead2 &lt;p&gt;$exsig2";
}

if ($sortav2[neohtml] == "" AND $sortav2[siggy] == "")
{
     $cont2 = "$fmain";
}


$memberonline2 = mysql_fetch_array(mysql_query("SELECT * FROM 988888 WHERE 988888='$sort2[postedby]'"));
if ($memberonline2[laston] &gt;= $timestamp)
{$online2 = "(&lt;FONT COLOR=\"#669900\"&gt;Online&lt;/FONT&gt;)";}

if ($memberonline2[laston] &lt; $timestamp)
{$online2 = "(&lt;FONT COLOR=\"#CC3333\"&gt;Offline&lt;/FONT&gt;)";}
$job = mysql_fetch_array(mysql_query("SELECT * FROM jobs WHERE id='$memberonline2[rank]'"));



echo("

    &lt;tr&gt;
    &lt;td width=\"154\" valign=\"middle\" style=\"border-bottom: 1pt solid black;border-right: 1pt solid black; background-color:#f4f4f4;\"&gt;&lt;center&gt;
      &lt;p&gt;&lt;img src=\"$sortav2[avatar]\"&gt;&lt;br&gt;$sort2[postedby] $online2&lt;br&gt;
          $fdate @ $ftime NST&lt;br&gt;[&lt;a href=\"$baseurl/forum/report_reply.php?reply=$sort2[id]\"&gt;Report Reply&lt;/a&gt;]&lt;br&gt;$deletereply&lt;/p&gt;
    &lt;/center&gt;&lt;/td&gt;
    &lt;td width=\"154\" valign=\"top\" style=\"border-bottom: 1pt solid black; background-color:#f4f4f4;\"&gt;$cont2&lt;/td&gt;

  &lt;/tr&gt;


"); }





}

}





echo "&lt;tr&gt;
  &lt;td colspan=\"3\" style=\"background-color:#5ed4bf;\" &gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;

";



if ($num &gt;= 30)
{
echo "&lt;p align=center&gt;&lt;a href=$baseurl/forum/topic.php?id=$id&amp;min=$max&gt;&lt;b&gt;Next page&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;";
}
if ($min != 0)
{
    $prev_min = $min - 30;
    echo "&lt;p align=center&gt;&lt;a href=$baseurl/forum/topic.php?id=$id&amp;min=$prev_min&gt;&lt;b&gt;Previous page&lt;/b&gt;&lt;/a&gt;&lt;/p&gt;";
}



$x = 0;





if ($rankage == 0)
{
    echo "


Only SketchedNeo members can post comments. Please Login or &lt;a href=$baseurl/join.php&gt;Join&lt;/a&gt;!";
}



if ($rankage == 2)
{
    echo "


Silenced members can not post comments.";
}

if ($rankage == 1)
{
    echo "


Ices members can not post comments.";
}


if ($rankage &gt;= 3)
{
    echo "
&lt;center&gt;
&lt;FORM ACTION=\"add_reply.pro.php?id=$id\" enctype=\"multipart/form-data\" METHOD=POST&gt;
&lt;table width=\"418\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"&gt;
  &lt;tr&gt;
    &lt;td width=\"418\" height=\"18\"&gt;&lt;center&gt;
      Add Comment
    &lt;/center&gt;&lt;/td&gt;
  &lt;/tr&gt;
   &lt;tr&gt;
     &lt;td height=\"155\" valign=\"top\"&gt;&lt;textarea  name=\"comment\" cols=\"60\" rows=\"10\" value=\"\"  &gt;&lt;/textarea&gt;&lt;/td&gt;
     &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;&lt;center&gt;&lt;font size=\"-1\"&gt;&lt;i&gt;
      &lt;input type=submit name=Submit value=\"Add\"&gt;
      &lt;/i&gt;&lt;/font&gt;&lt;/center&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;&lt;/FORM&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/center&gt;

";
}






echo "&lt;p&gt;&lt;/center&gt;\n";


echo "&lt;/center&gt;\n";
</code></pre>

<p>So therefore my code is not going through which is causing issues with post's such as Apostrophes and ENTER (for new line)</p>

<p>If I post:
Hey Guy's, So we need to get some more forum monitors, We really need to start looking at deleting unactive boards really. 
how is everyone?</p>

<p>Hey Guy s, So we need to get some more forum monitors, We really need to start looking at deleting unactive boards really. how is everyone?  </p>

<p>This is my BB code page here:</p>

<pre><code>&lt;?
function forumbb($content){ //define the function of bbcode 
$content = nl2br($content); //replaces returns with br's 
$match = array( 
'#\[sup\]#se', 
'#\[\/sup\]#se', 
'#rnrn#se', 
'#\[p\]#se', 
'#\[\/p\]#se', 
'#\[br\]#se', 
'#\[\/br\]#se', 
'#\[b\]#se', 
'#\[\/b\]#se', 
'#\[i\]#se', 
'#\[\/i\]#se', 
'#\[u\]#se', 
'#\[\/u\]#se', 
'#\[left\]#se', 
'#\[\/left\]#se', 
'#\[right\]#se', 
'#\[\/right\]#se', 
'#\[center\]#se', 
'#\[\/center\]#se', 
'#\[\/font\]#se', 
'#\[fontc\=(.*?)s\=(.*?)f\=(.*?)\]#se', 
'#\[fontc\=(.*?)f\=(.*?)s\=(.*?)\]#se', 
'#\[fonts\=(.*?)c\=(.*?)f\=(.*?)\]#se', 
'#\[fonts\=(.*?)f\=(.*?)c\=(.*?)\]#se', 
'#\[fontf\=(.*?)c\=(.*?)s\=(.*?)\]#se', 
'#\[fontf\=(.*?)s\=(.*?)c\=(.*?)\]#se', 
'#\[fontc\=(.*?)f\=(.*?)\]#se', 
'#\[fontc\=(.*?)s\=(.*?)\]#se', 
'#\[fonts\=(.*?)f\=(.*?)\]#se', 
'#\[fonts\=(.*?)c\=(.*?)\]#se', 
'#\[fonts\=(.*?)\]#se', 
'#\[fontf\=(.*?)\]#se', 
'#\[fontc\=(.*?)\]#se', 
'#\[#se', 
'#\]#se', 
'#neoHTML#se', 
'#\*acara\*#se', 
'#\*aisha\*#se', 
'#\*blumaroo\*#se', 
'#\*bori\*#se', 
'#\*bruce\*#se', 
'#\*buzz\*#se', 
'#\*chia\*#se', 
'#\*cybunny\*#se', 
'#\*draik\*#se', 
'#\*eyrie\*#se', 
'#\*flotsam\*#se', 
'#\*gelert\*#se', 
'#\*gnorbu\*#se', 
'#\*grundo\*#se', 
'#\*hissi\*#se', 
'#\*jubjub\*#se', 
'#\*kacheek\*#se', 
'#\*kau\*#se', 
'#\*kiko\*#se', 
'#\*korbat\*#se', 
'#\*kougra\*#se', 
'#\*krawk\*#se', 
'#\*kyrii\*#se', 
'#\*lenny\*#se', 
'#\*lupe\*#se', 
'#\*SketchedNeo\*#se', 
'#\*meerca\*#se', 
'#\*ogrin\*#se', 
'#\*poogle\*#se', 
'#\*pteri\*#se', 
'#\*ruki\*#se', 
'#\*scorchio\*#se', 
'#\*shoyru\*#se', 
'#\*techo\*#se', 
'#\*tonu\*#se', 
'#\*usul\*#se', 
'#\*wocky\*#se', 
'#\*xweetok\*#se', 
'#\*yurble\*#se', 
'#\*zafara\*#se', 
'#\*candycane\*#se', 
'#\*aaa\*#se',
'#\*abigail\*#se',
'#\*boatswain\*#se',
'#\*cabinboy\*#se',
'#\*coltzan\*#se',
'#\*cook\*#se',
'#\*gunner\*#se',
'#\*hanso\*#se',
'#\*happiness\*#se',
'#\*illusen\*#se',
'#\*jazan\*#se',
'#\*jhudora\*#se',
'#\*lulu\*#se',
'#\*mate\*#se',
'#\*mrcoconut\*#se',
'#\*nox\*#se',
'#\*quartermaster\*#se',
'#\*rigger\*#se',
'#\*rower\*#se',
'#\*sloth\*#se',
'#\*swabbie\*#se',
'#\*angelpuss\*#se',
'#\*feepit\*#se',
'#\*jinjah\*#se',
'#\*kadoatery\*#se',
'#\*kadoatie\*#se',
'#\*larnikin\*#se',
'#\*meepit\*#se',
'#\*mootix\*#se',
'#\*pinchit\*#se',
'#\*slorg\*#se',
'#\*warf\*#se',
'#\*weewoo\*#se',
'#\*babypb\*#se',
'#\*baf\*#se',
'#\*bdf\*#se',
'#\*bef\*#se',
'#\*bff\*#se',
'#\*bgc\*#se',
'#\*blf\*#se',
'#\*bwf\*#se',
'#\*carrot\*#se',
'#\*codestone\*#se',
'#\*dariganpb\*#se',
'#\*dubloon\*#se',
'#\*dung\*#se',
'#\*faeriepb\*#se',
'#\*mspp\*#se',
'#\*piratepb\*#se',
'#\*sock\*#se',
'#\*suap\*#se',
'#\*catfish\*#se',
'#\*star\*#se',
'#\*swagbag\*#se',
'#\*0.o.0\*#se',
'#\*bauble\*#se',
'#\*flower\*#se',
'#\*ghost\*#se',
'#\*holly\*#se',
'#\*mistletoe\*#se',
'#\*present\*#se',
'#\*pumpkin\*#se',
'#\*rednose\*#se',
'#\*santa\*#se',
'#\*snowflake\*#se',
'#\*snowman\*#se',
'#\*tombstone\*#se',
'#\*witch\*#se',
'#\*xmastree\*#se',
'#\*altador\*#se',
'#\*brightvale\*#se',
'#\*darigan\*#se',
'#\*faerieland\*#se',
'#\*hauntedwoods\*#se',
'#\*kikolake\*#se',
'#\*krawkisland\*#se',
'#\*kreludor\*#se',
'#\*lostdesert\*#se',
'#\*maraqua\*#se',
'#\*meridell\*#se',
'#\*moltara\*#se',
'#\*mysteryisland\*#se',
'#\*rooisland\*#se',
'#\*shenkuu\*#se',
'#\*terrormountain\*#se',
'#\*tyrannia\*#se',
'#\*virtupets\*#se',
'#\*angry\*#se',
'#\*clap\*#se',
'#\*complain\*#se',
'#\*cough\*#se',
'#\*cry\*#se',
'#\*facepalm\*#se',
'#\*lol\*#se',
'#\*unsure\*#se',
'#\*violin\*#se',
'#\*yarr\*#se',
'#:\)#se',
'#;\)#se',
'#:\(#se',
'#:\*#se',
'#:D#se',
'#:K#se',
'#:o#se',
'#:P#se',
'#B\)#se',
'#0:\-\)#se',
'#\*snowager\*#se',
'#\*turmaculus\*#se',
); //codes used in posts 
$replace = array( 
"'&lt;sup&gt;'", 
"'&lt;/sup&gt;'", 
"''", 
"'&lt;p&gt;'", 
"'&lt;/p&gt;'", 
"'&lt;br&gt;'", 
"'&lt;/br&gt;'", 
"'&lt;b&gt;'", 
"'&lt;/b&gt;'", 
"'&lt;i&gt;'", 
"'&lt;/i&gt;'", 
"'&lt;u&gt;'", 
"'&lt;/u&gt;'", 
"'&lt;p style=\"text-align:left;\"&gt;'", 
"'&lt;/p&gt;'", 
"'&lt;p style=\"text-align:right;\"&gt;'", 
"'&lt;/p&gt;'", 
"'&lt;center&gt;'", 
"'&lt;/center&gt;'", 
"'&lt;/font&gt;'", 
"'&lt;font color=\'\\1\' size=\'\\2\' face=\'\\3\'&gt;'",
"'&lt;font color=\'\\1\' face=\'\\2\' size=\'\\3\'&gt;'",
"'&lt;font size=\'\\1\' color=\'\\2\' face=\'\\3\'&gt;'",
"'&lt;font size=\'\\1\' face=\'\\2\' color=\'\\3\'&gt;'",
"'&lt;font face=\'\\1\' color=\'\\2\' size=\'\\3\'&gt;'",
"'&lt;font face=\'\\1\' size=\'\\2\' color=\'\\3\'&gt;'",
"'&lt;font color=\'\\1\' face=\'\\2\'&gt;'",
"'&lt;font color=\'\\1\' size=\'\\2\'&gt;'",
"'&lt;font size=\'\\1\' face=\'\\2\'&gt;'",
"'&lt;font size=\'\\1\' color=\'\\2\'&gt;'",
"'&lt;font size=\'\\1\'&gt;'",
"'&lt;font face=\'\\1\'&gt;'",
"'&lt;font color=\'\\1\'&gt;'",
"' '",
"' '",
"'This is how your post will look on the Neoboards.'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/acara.gif\' &gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/aisha.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/blumaroo.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/bori.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/bruce.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/buzz.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/chia.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/cybunny.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/draik.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/eyrie.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/flotsam.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/gelert.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/gnorbu.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/grundo.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/hissi.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/jubjub.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kacheek.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kau.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kiko.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/korbat.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kougra.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/krawk.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kyrii.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/lenny.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/lupe.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/SketchedNeo.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/meerca.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/ogrin.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/poogle.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/pteri.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/ruki.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/scorchio.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/shoyru.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/techo.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/tonu.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/usul.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/wocky.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/xweetok.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/yurble.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/zafara.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/candycane.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/aaa.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/abigail.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/boatswain.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/cabinboy.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/coltzan.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/cook.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/gunner.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/hanso.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/happinessfaerie.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/illusen.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/jazan.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/jhudora.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/lulu.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/mate.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/mrcoconut.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/nox.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/quartermaster.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/rigger.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/rower.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/sloth.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/swabbie.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/angelpuss.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/feepit.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/jinjah.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kadoatery.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kadoatie.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/larnikin.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/meepit.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/mootix.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/pinchit.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/slorg.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/warf.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/weewoo.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/babypb.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/baf.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/bdf.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/bef.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/bff.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/bgc.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/blf.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/bwf.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/carrot.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/codestone.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/dariganpb.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/dubloon.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/dung.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/faeriepb.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/mspp.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/piratepb.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/sock.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/suap.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/catfish.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/star.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/swagbag.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/0.o.0.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/bauble.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/flower.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/ghost.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/holly.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/mistletoe.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/present.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/pumpkin.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/rednose.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/santa.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/snowflake.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/snowman.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/tombstone.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/witchhat.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/xmastree.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/altador.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/brightvale.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/darigan.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/faerieland.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/hauntedwoods.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kikolake.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/krawkisland.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kreludor.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/lostdesert.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/maraqua.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/meridell.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/moltara.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/mysteryisland.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/rooisland.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/shenkuu.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/terrormountain.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/tyrannia.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/virtupets.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/angry.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/clap.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/complain.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/cough.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/cry.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/facepalm.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/lol.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/unsure.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/violin.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/yarr.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/smileys/smiley.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/winking.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/sad.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/kisskiss.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/grin.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/vampire.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/oh.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/tongue.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/sunglasses.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/angel.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/snowager.gif\' \&gt;'",
"'&lt;img src=\'http://images.neopets.com/neoboards/smilies/turmaculus.gif\' \&gt;'",
); //replacements 
return preg_replace($match, $replace, $content); //match, and replace 
} //end the function 
?&gt; 
</code></pre>

<p>I was just wondering if anyone knows why its not working?</p>

<p>I have put 98888 where my database info is</p>
