ok i totally forgot that it was so easy to order data. What i want to do now is echo in name value pairs :
PHP Code:
<?php
include_once("conn.php");
$f = ($_GET["f"]);
$query = "SELECT side, CONCAT(twins, " ", tloses) from summary ORDER BY twins ASC";
$result = mysql_query($query);
$numR = mysql_num_rows($result);
if ($numR == 1) {
if($row = mysql_fetch_array($result));
now i want to
PHP Code:
echo "&side1 = $some php script[]";//hiqhest scoring side name
echo "&side2 = $some phpscript[]";//next highest scoring side name etc.
echo "&info1 = $some php script[]";//score details about hiqhest scoring side. This has the concat info twins and tloses
echo "&info2 = $some phpscript[]";//score details about next hiqhest scoring side. This has the concat info twins and tloses
something like that. Any help is appreciated.