Hi All,
Im using php to make a page where a user enters a customer number and a code to search a database.
it calls another page to display the results.
On the second page i have the following code:
<?php
mysql_connect("localhost", "root", "2233home") or die(mysql_error());
mysql_select_db("customers")
or die(mysql_error());
echo "<b>Connected<br>";
mysql_query("select*from $_REQUEST["File1"] where Code = $_REQUEST["Code"]")
or die(mysql_error());
echo "File used $_REQUEST["File1"]<br><br>";
echo "File $_REQUEST["File1"] was inserted.";
?>
But it dosent return anything at all...
Any ideas?
Thanks