flemingmike Posted February 2, 2011 Share Posted February 2, 2011 hi, is there a way that i can insert into a mysql text box even if there is unsupported characters in the field. for instance, if i want to insert: When I arrived onsite, the cable for usb to ps/2 wasn't with the pc anymore. I need to get a usb to ps/2 cable, as well as a dvi to vga adapter. I will return tomorrow to finish. and i want to keep the invalid characters like the /, and i also want to keep it on 3 seperate lines. can this be done? Quote Link to comment Share on other sites More sharing options...
flemingmike Posted February 2, 2011 Author Share Posted February 2, 2011 im sorry, i completely screwed that up.. i know for that i use mysql_real_escape_string. its when im trying to echo my data, it is all coming on one line. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted February 2, 2011 Share Posted February 2, 2011 Are you maybe talking about nl2br? Quote Link to comment 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.