Jump to content

Page cannot be displayed


Phpnewbie23

Recommended Posts

Hi Guys

 

I keep getting

 

 

The page cannot be displayed

The page you are looking for cannot be displayed because the page address is incorrect.

 

Please try the following:

 

    * If you typed the page address in the Address bar, check that it is entered correctly.

    * Open the localhost home page and then look for links to the information you want.

 

HTTP 405 - Resource not allowed

Internet Information Services

 

Technical Information (for support personnel)

 

    * More information:

      Microsoft Support

 

With this code

<?php
include 'db_conn.php';
include 'define.php';
echo "<br>";
echo "<form method='POST' action='http://localhost/backup-report/test.html'>";
//javascript/popup/addpopup.js'>";
echo "select Client:<select name='Client'>"; 
  foreach($clients as $client){
  	    		echo "<option value='1'>$client</option>"; 
							  }
			 echo "</select>";
echo"<br>";

echo "<table id='table'>";
	 echo "<tr>";		 
	 echo "<td align=center>Type client name</td>","\n";
	 echo "<td align=center><input type='Text' value='Type Customer Name' /> </td>","\n";
	 echo "<td align=center><input type='Submit' value='Submit' /> </td>","\n";
	 echo "</tr>";
echo "</table>";
echo "</form>";
echo"<br>";
echo "<form action='rempopup.js' method='POST'>";
echo "<table id='table'>";
	 echo "<tr>";		 
	 echo "<td align=center>Type client name</td>","\n";
	 echo "<td align=center><input type='Text' value='Type Customer Name' /> </td>","\n";
	 echo "<td align=center><input type='Submit' value='Remove' /> </tdn";>","\n
	 echo "</tr>";
echo "</table>";

echo "</form>";
?>

 

This happens when i click on the

<?php echo "<td align=center><input type='Submit' value='Submit' /> </td>","\n"; ?>

 

which should then run a .js script that dispalys a windows that runs the remove script that removes the customer from the define.php which builds the array

 

All help greatly appricated any ideas?????

 

Cheers James

 

 

Link to comment
https://forums.phpfreaks.com/topic/152250-page-cannot-be-displayed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.