plodos Posted June 22, 2008 Share Posted June 22, 2008 Error is Not Found The requested URL /add.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. İm trying to learnd $_GET method....Whats the error, I didnt see...Pls help a.php if($add_person) { header('Location: http://www.xxx.com/add.php?cpage='.$count_commit.' '); } b.php <?php include("dbconfig.php"); switch($_GET['cpage']) { case "1": check(1); break; case "2": check(2); break; default: echo "error"; } function check($number){ $search = $number; $data = mysql_query("select p.* from join_person_committee j, person p where j.person_id = p.person_id AND j.person_id='$search' ORDER BY p.person_id ASC LIMIT $baslangic,$limit"); while($info=mysql_fetch_array($data)) { echo" {$info['university']}<br>"; } }} ?> Quote Link to comment Share on other sites More sharing options...
Orio Posted June 22, 2008 Share Posted June 22, 2008 Does add.php exist? Should be in your basic puclic_html/www folder. Orio. Quote Link to comment Share on other sites More sharing options...
plodos Posted June 22, 2008 Author Share Posted June 22, 2008 yes you are right...problem was the file name sorry 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.