I need a php sorting coding (ie) how to sort a table based on the column values i want to sort table based on 'comapany name' column's values.
You do that with a mySQL query: $sql = mysql_query("SELECT * FROM {table name here} ORDER BY company_name ASC");