Topic: Problem in Database information retrieval.
Hi, actually i created a custom table and add some fields, which are necessary to bring to the login page. but the problem is when use the following functions it will return the proper result on some other page. but the same query does not work on login.php page.
Can you help me to identify the problem in the query using in login page...
$sql="SELECT * FROM ".TB_PREF."kv_sys_prefs LIMIT 1";
$result = db_query($sql, "could not Process");
$kv_week_day_details = db_fetch($result);
echo json_encode($kv_week_day_details);
HRM CRM POS batch Themes