Page 1 of 1

Getting notices while execution

PostPosted: 10. May 2012 06:42
by aa_prys
i m getting notices along with the required output..

[img]c:/prob.png[/img]

the output what i m getting after execution is [color=#4080FF]Notice: Use of undefined constant user_name - assumed 'user_name' in C:\xampp\htdocs\new1\view-users.php on line 32
aa[/color]
aa is the sample output which io need to get from the database.

Re: Getting notices while execution

PostPosted: 10. May 2012 17:16
by Altrea
Hi aa_prys (there is ALWAYS time for an introducing welcome line, especially if you are asking for help. It's a matter of politeness),

aa_prys wrote:the output what i m getting after execution is [color=#4080FF]Notice: Use of undefined constant user_name - assumed 'user_name' in C:\xampp\htdocs\new1\view-users.php on line 32

Well, i "assume" that you are using an undefined constant on line 32 of your file C:\xampp\htdocs\new1\view-users.php.
Very very common (but you should get millions of hits on google if you try a search for "Use of undefined constant") you wanted to use a string, but have "forgotten" the quotes around it.

best wishes,
Altrea