code + blog

Tagged:  
this is my code + blog
  1. foo = "bar";
  2. baz = "foz";
<?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/

© Hossain Khan - Some rights reserved.
Creative Commons License This site is licensed under a Creative Commons Attribution-Noncommercial 2.5 License.