Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Software Development
Programming
Programming Q&A
[PHP] Can't find error
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Weasel" data-source="post: 184470" data-attributes="member: 9520"><p>I think your errors are on developer mode. You can use this to prevent errors like that:</p><p>[php]error_reporting(E_ALL ^ E_NOTICE);[/php]</p><p> </p><p>Or add:</p><p>[php]$rank = '';[/php]</p><p> </p><p>This errors are saying that the $rank var isn't set, untill the rows are requested from the database (so aren't set). This isn't anything that you should prevent because its a security risk, but some coders like to do stuff like that.</p></blockquote><p></p>
[QUOTE="Weasel, post: 184470, member: 9520"] I think your errors are on developer mode. You can use this to prevent errors like that: [php]error_reporting(E_ALL ^ E_NOTICE);[/php] Or add: [php]$rank = '';[/php] This errors are saying that the $rank var isn't set, untill the rows are requested from the database (so aren't set). This isn't anything that you should prevent because its a security risk, but some coders like to do stuff like that. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Software Development
Programming
Programming Q&A
[PHP] Can't find error
Top