Dunno if my question meets my needs here.![]()
I'm having problem with this code
It echoes the $code (highlight.php) say I have showcode.php?code=highlight.php, but... it doesn't go through the if's. Am I missing something?Code:$code=$_GET['code']; echo $code; $col=split('.',$code); if($col[1]=='vb'){ $h->vb_file("source/".$code); } else if($col[1]=='cs'){ $h->csharp_file("source/".$code); } else if($col[1]=='php'){ highlight_file("source/".$code); }




Reply With Quote