i want to search for string into a database but so far i can't send the string to the php file.
this is my code:
search.html
<HTML>
<HEAD>
<TITLE>search</TITLE>
</HEAD>
<BODY>
<H2>Search for a string</H2>
<BR>
<FORM METHOD="POST" ACTION="results_by_name.php">
Please enter the string you are seeking:
<BR>
<INPUT NAME="name" TYPE=TEXT>
<BR>
<INPUT TYPE=SUBMIT VALUE="search">
</FORM>
</BODY>
</HTML>
results_by_name.php
<?php
echo "Searching for".$name;
...
?>