Location: PHPKode > projects > Caleb's Code > Cafe_Cart/classes/util.php
<?

function session_var($var, $val)
{
    $GLOBALS[$var] = $val;
    session_register($var);
}
function sessionInit()
{
  session_start("CafeCart");
  $GLOBALS["session_id"] = session_id();
}
function doAlert($alert_msg)
{
    if($alert_msg != ""): 
    echo "<script language=\"JavaScript\" type=\"text/javascript\">alert('$alert_msg')</script>";
    endif;
}

?>
Return current item: Caleb's Code