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? Link to comment https://forums.phpfreaks.com/topic/226415-insert-into-text-box-with-invalid-characters/ 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. Link to comment https://forums.phpfreaks.com/topic/226415-insert-into-text-box-with-invalid-characters/#findComment-1168649 Share on other sites More sharing options...
Pikachu2000 Posted February 2, 2011 Share Posted February 2, 2011 Are you maybe talking about nl2br? Link to comment https://forums.phpfreaks.com/topic/226415-insert-into-text-box-with-invalid-characters/#findComment-1168659 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.