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 Link to comment https://forums.phpfreaks.com/topic/58323-solved-solved-quick-question-undefined-index/ 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. Link to comment https://forums.phpfreaks.com/topic/58323-solved-solved-quick-question-undefined-index/#findComment-289181 Share on other sites More sharing options...
andr923 Posted July 3, 2007 Author Share Posted July 3, 2007 great thanks! Link to comment https://forums.phpfreaks.com/topic/58323-solved-solved-quick-question-undefined-index/#findComment-289184 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.