I have a select php script and the portion of it is:
while($row = mysqli_fetch_array($result))
{
echo "<option>" . $row['firstname'] . $row['lastname'] . "</option>
}
echo "</select>";
echo "</div>";
the problem are the rows, I am wanting them to appear in the option as "John Doe" the way it is now is "JohnDoe"
I have tried changing it to: . $row['firstname'] . " " . $row['lastname'] .
but that would cause problems later on in the program where it wouldn't read the name as John Doe it would read it as John Doe for some reason. (extra space)