this is my code + blog
<?php
session_start();
include_once "common.php";
/*
* This script delivers AJAX content.
* This page is not intended to use separately.
*/
/**
* Script Requirements
* ------------------------
*
* Goal Type should be set
* User ID should be set is session.
*
* @note This script updates content under DIV id `goalslist`
*/
$goal_type = uvr("goal_type");
$goal_type = uvrs("goal_type",$goal_type);
if($goal_type){
$goals = get_result_array2D("SELECT * FROM goals WHERE email='".$user_info['email']."' AND type='$goal_type'");
?>
Comments
geshi makis it possible - syntax highlighting is provided by geshi. for more information please visit http://qbnz.com/highlighter/