Differences
This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
php_cli_ex [2011-10-24 13:42] Joakim Forsgren created |
php_cli_ex [2011-10-24 13:44] Joakim Forsgren |
||
---|---|---|---|
Line 36: | Line 36: | ||
} | } | ||
echo " | echo " | ||
+ | // För att läsa in en sträng utan radbrytning på slutet | ||
+ | $str = substr(fgets($handle), | ||
+ | echo $str; | ||
</ | </ |