Jump to content

[SOLVED] Sorting Search results in an array


konqest

Recommended Posts

Hey guys I am searching for a way to possibly sort an array

 

I am pulling my array here to display everything in this table, but would like to be able to have it only display only issues of a certain status, I have the Status Field set in this database just unsure on how to proceed to display only those certain statuses

 

 

 

	echo "<form action=\"editIssue.php\" method=\"post\">
	<select name = \"issueID\">";
		$res = mysql_query("SELECT * FROM issue");	

while($row = mysql_fetch_array($res))
			echo "<option value=\"" . $row["issueID"] . "\">
			" . "\"" . $row["Title"] . "\",  Opened: " . $row["OpenedDate"]. "\", </option>";

 

any help or linking would be appreciated.

 

Thanks :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.