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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.