Saturday 1 June 2019

mysql - PHP Notice: Use of undefined constant

I have a strange error message after using the post to wall function. It did successfully post to the wall however i got a very weird strange error.




[Mon Dec 28 12:47:36 2015] [error] [client 5.29.224.120] PHP Notice: Use of undefined constant female - assumed 'female' in /datas/vhosts/nf.com/httpdocs/agence1948/result.php on line 178, referer: https://nf.com/agence1948/question.php
[Mon Dec 28 12:47:36 2015] [error] [client 5.29.224.120] PHP Notice: Use of undefined constant male - assumed 'male' in /datas/vhosts/nf.com/httpdocs/agence1948/result.php on line 182, referer: https://nf.com/agence1948/question.php





I use this code





= 15 && $_SESSION['score'] <= 20): ?>














someone knows whats is the problem?




thank you

No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...