php output differs in firefox and komodo IDE

56 views Asked by At

I installed komodo IDE 8.5 to write and test php codes. The first program I tried to test was this:

<?php   // test_1.php
     $username = "fred Smith";
     echo $username;
     echo "<br>";
     $current_user = $username;
     echo $current_user;

?>

when I run the program in Firefox it works as it should and prints fred smith 2 times in 2 seprate lines. but when I run it on komodo, the output is a

fred Smith<br>fred Smith

whats wrong whit program or IDE?

0

There are 0 answers