An Online Resource for Parents of School Aged Children
The Client Schooldays Publications Pty. Ltd, Australia
They are a team of education and publishing professionals dedicated to bringing their readers the best innovative, education online knowledge source for educators of students k -12 (kindergarten to year 12)..
The Challenge
Since the internet is media which, can make business presence across global world at rapid speed. Schooldays publication wanted to widen the scope of schools of Australia across the world and they found to startup an internet based solution which can meet their customer's requirements. The objective was to provide an internet based solution to browse schools located in Australia.
The Solution
The solution comprises of providing online registration and listing for schools and thereby creating and populating directory for schools operating in the same operational field. It provides site visitor to search and browse schools. It allows visitors to share their idea, information, article and other useful information. This information is mailed to administrator and after review it will be published on website.
The Technology PHP 4.0, MySQL 4.0.2
The Benefits
This internet solution provides a common and collaborative platform for schools by paid school registration which will be helpful for school to widening the scope of school at the academic level. It provides visitor to browse schools thereby solution provides easy and efficient search of schools which closely match the customer's requirements.
";
if($exit == 1)
exit;
}
return $db_rec_row_array;
}
//use to insert record
function insert($query,$debug=0)
{
if(trim($query) == "")
die("Query is Empty: ".mysql_error());
/*
This is used to check that query has insert word or not
If you try to execute other types of query in that case this will give the error
*/
if(!preg_match("/^insert/i",$query))
die(" Invalid Query: ".$query." ");
$this->result = mysql_query($query,$this->links);
if(!$this->result)
die(" Result Erorr: ".mysql_error()." ".$query." ");
/*
This is used to debug the code and print the query
You have to pass 1 (one) as the second argument of the edit function
Default is $debug 0 set.
*/
if($debug == 1)
{
print "
";
exit;
}
return $this->result;
}
//use to update record
function update($query,$debug=0)
{
if(trim($query) == "")
die("Query is Empty: ".mysql_error());
/*
This is used to check that query has update word or not
If you try to execute other types of query in that case this will give the error
*/
if(!preg_match("/^update/i",$query))
die(" Invalid Query: ".$query." ");
$this->result = mysql_query($query,$this->links);
if(!$this->result)
die(" Result Erorr: ".mysql_error()." ".$query." ");
/*
This is used to debug the code and print the query
You have to pass 1 (one) as the second argument of the edit function
Default is $debug 0 set.
*/
if($debug == 1)
{
print "
";
exit;
}
return $this->result;
}
//use to insert, update, replace and delete record
function delete($query,$debug=0)
{
if(trim($query) == "")
die("Query is Empty: ".mysql_error());
/*
This is used to check that query has delete word or not
If you try to execute other types of query in that case this will give the error
*/
if(!preg_match("/^delete/i",$query))
die(" Invalid Query: ".$query." ");
$this->result = mysql_query($query,$this->links);
if(!$this->result)
die(" Result Erorr: ".mysql_error()." ".$query." ");
/*
This is used to debug the code and print the query
You have to pass 1 (one) as the second argument of the edit function
Default is $debug 0 set.
*/
if($debug == 1)
{
print "