Jump to content

Not showing selected value


Xtremer360

Recommended Posts

Anyone see any issue with this because its not showing the correct value for me.

 

<?php
$sortOrderArray = array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","0-9");
$sortOrder = '';
foreach ($sortOrderArray AS $letter) {
$sortOrder .= "<option value=\"".$letter."\"";
    if ($letter == $row['sortOrder']) {
    
    }
    $sortOrder .= ">".$letter."</option>\r";
}
?>

Link to comment
https://forums.phpfreaks.com/topic/244243-not-showing-selected-value/
Share on other sites

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.