Hello. I currently have a table displaying results when users click on submit button. I want to be able to do two things.
(1) add the column headings to the table and (2) hide the field that displays the record number. Are there easy functions to do this? I tried looking in my book and on the web but cannot see code that would exactly fit in my code. The code I have is as follows. Thanks for any help or guidance you can offer.
$query = “SELECT * FROM clients WHERE Category=”{$_POST[‘Category’]}"";
$result = mysql_query($query,$cxn);
$num_rows = mysql_num_rows($result);
print “There are $num_rows records.
”;
print “
$field | n”;