Thread: Notice:
View Single Post
Old 01-09-2010, 10:00 AM   #1 (permalink)
oshash
The Wanderer
 
oshash's Avatar
 
Join Date: Jan 2010
Posts: 6
Thanks: 1
oshash is on a distinguished road
Asterix Notice:

Can any body tell me wat is this error for plz
Notice: Undefined index: login in C:\wamp\www\kamsar_011208_server\registration\user \query\general_query.php on line 3
My general_query.php is
PHP Code:
<?php
// error is here--\/
if($_SESSION['login']=='true') { $include_where_clause " WHERE reg_id='$_SESSION[login_mem_reg_id]'"; }
else 
$include_where_clause "";

$sql_get_rel "SELECT * FROM " TABLE_RELATIONSHIPS  ;
$rs_get_rel $db->Execute($sql_get_rel);

$sql_get_pro "SELECT * FROM " TABLE_PROFESSIONS  ;
$rs_get_pro $db->Execute($sql_get_pro);

$sql_get_edu "SELECT * FROM " TABLE_EDUCATIONS  ;
$rs_get_edu $db->Execute($sql_get_edu);

$sql_get_sta "SELECT * FROM " TABLE_STATES  ;
$rs_get_sta $db->Execute($sql_get_sta);  //etc etc....
oshash is offline  
Reply With Quote