andr923 Posted July 3, 2007 Share Posted July 3, 2007 if (!$_REQUEST['view']) { I placed that code in one of my files to check whether the user has clicked on a link that is supposed to direct it to view a blog item. If it is indeed untrue, then it shows a list of blog items, else it shows the blog with the id set by 'view' For some reason, the code works. But it gives me this undefined index error nonetheless. this can be seen at: http://andreimatorin.com/new/blog.php Quote Link to comment Share on other sites More sharing options...
per1os Posted July 3, 2007 Share Posted July 3, 2007 if (!isset($_REQUEST['view'])) www.php.net/isset will solve that issue. Quote Link to comment Share on other sites More sharing options...
andr923 Posted July 3, 2007 Author Share Posted July 3, 2007 great thanks! 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.