I am a true newbie. I’ve been doing a lot of reading about coronalabs over the last few months, but have just started doing proof of concept work. I have searched the forums, but haven’t found a solution that worked for me, which is why I am asking the question.
My plan is to have at least some data that needs to be displayed, provided by a remote source. A website/php files backed with MySQL database. I will be doing time/date stamping on the data so the data in its entirety won’t be fetched each time. But I can’t for the life of me figure out how to place newlines into the data being fetched. This data will be fetched with a networkrequest.
I have created newText sections where I specify both the height and width. So they should be multiline segments. But they just display the ‘\n’ and/or ‘\r’ that I add into the text, in the php file.
Am I missing something? Is it even possible to do this? I can fetch it twice, concatonate a newline character in between each response and have that work just fine. But it just won’t recognize it in the entire response. I really don’t want to have to break each paragraph into its own table entry to fetch each and every time.
Also… There are times where I suspect that I’ll have much more than one blurb or page worth of text/data to display. Is there a way to scroll the data? Is it just a matter of if the text overruns the height of the newText?
Thank you for any help you can provide!