No CR in Livecode server script
Posted: Tue Apr 11, 2017 5:07 pm
I'm trying to use Livecode server instead of PHP but can't get the Carriage Return to work...
<?lc
put URL "file:/applications/mamp/htdocs/scroller/sse/play" into play
put "event: " & "event1" & CR & "data: " & play into ptext
put ptext
?>
This outputs : event: event1 data: play
instead of:
event: event1
data: play
<?lc
put URL "file:/applications/mamp/htdocs/scroller/sse/play" into play
put "event: " & "event1" & CR & "data: " & play into ptext
put ptext
?>
This outputs : event: event1 data: play
instead of:
event: event1
data: play