I cannot see what the undefined function is. This is from the top of my page
This is the line 288 area in reference
I can post the entire page if needed.
Any help appreciated, Thanks
Code:
<?php require_once('../Connections/conn.php'); ?>
<?
//save_db.php
//saves the registration data to the db if correct
session_start();
$_SESSION['logged_in'] = "";
//variable declarations
global $email, $lg_name, $lg_pass, $ur_ln, $ur_fn, $err_msg;
$email = "";
$lg_name = "";
$ur_ln = "";
$ur_fn = "";
$err_msg = "";
$lg_pass = "";
if (isset($_POST['Submit'])){
process_form();
}else{
show_form();
}//end if
function show_form()
{
global $email, $lg_name, $ur_ln, $ur_fn, $err_msg;
?>
This is the line 288 area in reference
Code:
function check($id, $pass)
{
$sql = "select count(1) as rec_count from cust_info where cust_lg = '$id' and cust_pw = '$pass'";
$unique_result = connect($sql);
if ($unique_result){
$rows = mysql_fetch_array($unique_result);
if ($rows['rec_count'] == 0){
return true;
}else{
return false;
}//end if
}//end if
}//end function
Any help appreciated, Thanks