l3l00 Posted May 27, 2013 Share Posted May 27, 2013 I have an ini file that has a paragraph of text in it. The ini file is activated by a query string in the header. It finds the text and prints it just fine as an image/png. My issue is that it puts ALL of the text into one long line! I am a little stuck, any suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/278414-multiple-lines-and-imagestring/ Share on other sites More sharing options...
jazzman1 Posted May 27, 2013 Share Posted May 27, 2013 (edited) Is this binary file string comes from your database or you catch it from a remote server Edited May 27, 2013 by jazzman1 Quote Link to comment https://forums.phpfreaks.com/topic/278414-multiple-lines-and-imagestring/#findComment-1432447 Share on other sites More sharing options...
l3l00 Posted May 27, 2013 Author Share Posted May 27, 2013 just a query string from html header: ?productID="..." $product = $_REQUEST['productID']; I use that product ID with a get_parse_ini('location/' . $product . 'ini'); From there I setup the imagestring as usual just with $variable['iniVariable]; for the text portion, it is a lot of text. Quote Link to comment https://forums.phpfreaks.com/topic/278414-multiple-lines-and-imagestring/#findComment-1432449 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.