Amit20 Posted June 25, 2011 Share Posted June 25, 2011 Hi frnds, Â I m trying to count the length of aray using "count()", but when the script is executed i get the following error: Â Â Notice: Use of undefined constant count - assumed 'count' in D:\public_hmtl\mysite\php\example.php on line 21. Â But the catch is the script gives me my desired output. So what's wrong with my code????? i m using php version 5.3.5!!! Â Â Link to comment https://forums.phpfreaks.com/topic/240353-undefined-constant-error/ Share on other sites More sharing options...
Nuv Posted June 25, 2011 Share Posted June 25, 2011 Can you please post the relevant code for us to understand the problem correctly. Also, since it is only a "Notice", it shouldn't be preventing the rest of the code from running. Link to comment https://forums.phpfreaks.com/topic/240353-undefined-constant-error/#findComment-1234617 Share on other sites More sharing options...
Amit20 Posted June 25, 2011 Author Share Posted June 25, 2011 Thank You I tried and was able to deal with the error!!!!  Link to comment https://forums.phpfreaks.com/topic/240353-undefined-constant-error/#findComment-1234660 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.