oni-kun Posted April 15, 2010 Share Posted April 15, 2010 What is the exact error you are getting? Quote Link to comment Share on other sites More sharing options...
heyhey01 Posted April 15, 2010 Author Share Posted April 15, 2010 What is the exact error you are getting? I have fixed the parse error now i get this Notice: Undefined variable: username in C:\wamp\www\commentsnew.php on line 23 Quote Link to comment Share on other sites More sharing options...
oni-kun Posted April 15, 2010 Share Posted April 15, 2010 It's fairly obvious, The variable $username does not exist. Why not fix that first? Quote Link to comment Share on other sites More sharing options...
TeddyKiller Posted April 15, 2010 Share Posted April 15, 2010 It's a notice, chances are you just have error reporting on. These things often occur. Lets say you have a form, and it has some variables for errors to display. If the form hasn't been submitted, the variables aren't defined. These issue a notice, if the form has been submitted, the error variables get defined and the notice doesn't get displayed. You shouldn't worry as such with these issues, providing your not running on a production server. If you are, then error reporting should be off. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.