Welcome Guest, Not a member yet? Register   Sign In
PHP/CI ruining tabbing and ignoring new lines in document
#2

[eluser]Developer13[/eluser]
$output = ('<option value="'.$i.'"'.$sel.'>'.$i.'</option>');

should be

$output = ('<option value="'.$i.'"'.$sel.'>'.$i."</option>\r\n");

Notice the double quotes and not single quotes wrapping the closing tag.


Messages In This Thread
PHP/CI ruining tabbing and ignoring new lines in document - by El Forum - 02-07-2009, 11:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB