This is the script that talks to MySQL:
?>
<h2>Welcome to the Applications for MySQL/PHP Applications Book</h2>
<p>If you are seeing this, you have PHP and MySQL installed and talking to each other. Cool</p>
<p>To get the applications working, you first need to install the databases with the sample data. Below
please choose the databases you would like installed. Choose the individual databases or mark Install
ALL.</p>
<p><b>NOTE: If you have databases by the same name on your MySQL server they will be
deleted! Beware.</b></p>
<p>Databases to install:</p>
<form action = <? echo $REQUEST_URI; ?> method="get">
<?
foreach($all_dbs as $dbname){
echo "<input type=\"checkbox\" name=\"passed_dbs[]\" value=\"$dbname\">$dbname<br>\n";
}
?>
<br>
<input type="checkbox" name="install_all" value="yes">Install All<br>
<input type="submit" name="submit" value="Submit">
</form>
<? } ?>
I get an error "Object not found. The requested URL was not found on this server."
The URL which PHP generated is:
http://localhost/book/install/method="get"?install_all=yes&submit=Submit
I am an absolute beginner to PHP/MySQL so perhaps the answer is incredibly simple? Is there anyone who can help me with this?
Regards
Christian Gibson