I have a database and i want to fetch all the information from each row of the db besides the primary key. for example, i have a table named jobs with fields jobid, company name, summary, requirements, responsabilities, and salary. I want to make a page that will display all the company names and then when they click a name it shows all the info that was submitted for that company.
$query = "SELECT jobid, companyname, summary, requirements, responsabilities,salary FROM jobs ORDER BY id DESC"; $result = mysql_query ($query); while ($row = mysql_fetch_assoc ($result)) {