Jump to content

[SOLVED] How to get rid of index Notcie?


divadiva

Recommended Posts

I am trying to set a value of dbsup to SESSION value .Earlier it was being set to database username.

This is what my code was before

$globvars['dbsup'] = 'database name';

 

I replace teh baove one with this:

$globvars['dbsup'] = $_SESSION['username'];

 

But, now I get this as an Notice: Undefined index: username in /var/www/html/.. on line 28.Any sugegstions?

 

 

Link to comment
https://forums.phpfreaks.com/topic/133652-solved-how-to-get-rid-of-index-notcie/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.