TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 01-09-2010, 10:00 AM   #1 (permalink)
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
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Notice Error ..... ioan1k General 2 08-30-2009 01:37 PM
cant work this error out talonos Absolute Beginners 11 07-13-2009 11:03 AM
Form Validation Not Working :( Guezala Absolute Beginners 27 05-13-2009 08:28 PM
[help] Cookies douesnt register why why !!!!! webtuto Absolute Beginners 38 01-04-2008 11:26 PM
Trying to create a "sign up form"....help please RogueDogg Absolute Beginners 31 06-03-2005 06:26 AM


All times are GMT. The time now is 01:02 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design