PHP : Undefined index Error

zalex

New Member
Here is the section of code I only have a problem with at this time you can see the error on the page at http://henderson.dnsd.me/nettec/servicedb.php \[code\]<?phpinclude('config.php');$term = $_POST['term']; <----- this would be line 22 in the error$sql = mysql_query("select * from customers where F_Name like '%$term%' or L_Name like '%$term%' or H_Phone like '%$term%'"); if (mysql_num_rows($sql) <= 0) {// no resultsecho 'No results found!';} else while ($row = mysql_fetch_array($sql)){} ?>\[/code\]Thanks in advance for any help!
 
Back
Top