I don't think this question falls under that "white page" category, I mean yes that is an end result but I turned off MYSQLI_REPORT since I have been having problems with Indexes
This is what I tried to do, I know that echoing div elements works so why should echoing multiple <option> not work? By not work I mean a white page.
This is what I mean
while ($row = $result->fetch_row()) {
echo '<option value="'.$row[1].'">'.$row[1].'</option>';
}
I realize that the problem is probably the value="" part.
Problem:
while ($row = $result->fetch_row()) {
if($row[0]==0){
echo "<option value="">none found</option>";
}else {
$query2 = "SELECT something,something2 FROM somethings where something='$somethingelse' ORDER by Id DESC";
if (($result = $link->query($query2))) {
/* fetch object array */
while ($row = $result->fetch_row()) {
echo '<option value="test">'.
"$row[1]".
'</option>';