pouncer Posted June 11, 2007 Share Posted June 11, 2007 = space? what is the tag for a new line? Link to comment https://forums.phpfreaks.com/topic/55035-tag-help/ Share on other sites More sharing options...
AndyB Posted June 11, 2007 Share Posted June 11, 2007 <br> Link to comment https://forums.phpfreaks.com/topic/55035-tag-help/#findComment-272065 Share on other sites More sharing options...
pouncer Posted June 11, 2007 Author Share Posted June 11, 2007 hm is there anything else i can use apart from that? it's a javascript chatroom i use and when i send to the chatroom it puts a space there but when i send like \<br\>test it should display a new line with 'test' on the new line, but it doesnt work, i guess its the chatroom settings. isnt there a symbol like &nl; Link to comment https://forums.phpfreaks.com/topic/55035-tag-help/#findComment-272067 Share on other sites More sharing options...
AndyB Posted June 11, 2007 Share Posted June 11, 2007 Ah, the secret to success is to ask the question you really want answered. \n is what you need inside a javascript string. Link to comment https://forums.phpfreaks.com/topic/55035-tag-help/#findComment-272069 Share on other sites More sharing options...
pouncer Posted June 11, 2007 Author Share Posted June 11, 2007 hmm, \n doesn't seem to work either. weird, if works for space, im sure \n would have worked :s is there no & symbol for a new line? Link to comment https://forums.phpfreaks.com/topic/55035-tag-help/#findComment-272189 Share on other sites More sharing options...
soycharliente Posted June 11, 2007 Share Posted June 11, 2007 Showing some code might help sort it out faster. Link to comment https://forums.phpfreaks.com/topic/55035-tag-help/#findComment-272296 Share on other sites More sharing options...
AndyB Posted June 12, 2007 Share Posted June 12, 2007 Without knowing how the chat room script processes input, we'll never get a solution. Possibly, the chat room script strips all sorts of characters including anything that'll generate a carriage return. As you suggested "... i guess its the chatroom settings.". Link to comment https://forums.phpfreaks.com/topic/55035-tag-help/#findComment-272770 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.