Im making a DJ Emails List for Kristal Panel (I think its called that)
and heres the code:
But I keep getting a message:PHP Code:<?php
if(isset($_SESSION["EON_CNTPNL_USERNAME"]))
{ $check->login(); }
else{
session_start();
$check = new checklogin;
$check->login(); }
?>
<?php
echo("<b>DJ Emails</b><br/>Keep In contact with the DJ's<br/><br/>");
switch($_GET["act"])
$fetch = mysql_fetch_array(mysql_query("SELECT `username`, `email` FROM `users`");
echo("<b>{$fetch["username"]}</b> - {$fetch["email"]}");
break;
default:
}
?>
PHP Code:Parse error: syntax error, unexpected T_VARIABLE, expecting ':' or '{' in /home/crazyhab/public_html/staff/emails.php on line 12
What do I need to do?





Reply With Quote


