dumdumsareyum Posted February 28, 2008 Share Posted February 28, 2008 I'm sure this is super easy.....I have several error messages that I'm stringing together while checking a form. How do I put a return in an alert window so they won't all be on one line? Thanks! Link to comment https://forums.phpfreaks.com/topic/93499-super-easy-alert-window-question/ Share on other sites More sharing options...
obsidian Posted February 28, 2008 Share Posted February 28, 2008 This takes the newline character ("\n"): <script type="text/javascript"> alert('Hello, World!\nThis is line #2'); </script> Link to comment https://forums.phpfreaks.com/topic/93499-super-easy-alert-window-question/#findComment-479068 Share on other sites More sharing options...
GameYin Posted February 28, 2008 Share Posted February 28, 2008 obsidain. All the links in your profile go to DarkMindZ. Change them. SQL injection changed them. Link to comment https://forums.phpfreaks.com/topic/93499-super-easy-alert-window-question/#findComment-479180 Share on other sites More sharing options...
obsidian Posted February 28, 2008 Share Posted February 28, 2008 obsidain. All the links in your profile go to DarkMindZ. Change them. SQL injection changed them. This is the second time I've changed them now. Link to comment https://forums.phpfreaks.com/topic/93499-super-easy-alert-window-question/#findComment-479215 Share on other sites More sharing options...
GameYin Posted February 28, 2008 Share Posted February 28, 2008 The root SQL injection must still be in here. Link to comment https://forums.phpfreaks.com/topic/93499-super-easy-alert-window-question/#findComment-479316 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.