in Education by
I'm writing by own blogging engine in PHP with a MYSQL backend database. MY question is: How would you go about making user comments and blog posts include newlines wherever they are appropriate? For example, if a user hits the return key in the message/comments box how would this translate into a new line that would show in the browser when the comment is viewed? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
PHP has a function: nl2br which turns new lines into
www.php.net/nl2br

Related questions

0 votes
    I'm writing by own blogging engine in PHP with a MYSQL backend database. MY question is: How would ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 16, 2022 in Education by JackTerrance
0 votes
0 votes
    Which of the following function is good for the automatic splitting of names? (a) split (b) strsplit ( ... questions and answers pdf, Data Science interview questions for beginners...
asked Oct 29, 2021 in Education by JackTerrance
0 votes
    Which of these is necessary condition for automatic type conversion in Java? (a) The destination type is ... questions and answers pdf, java interview questions for beginners...
asked Oct 28, 2021 in Education by JackTerrance
0 votes
    You can differentiate between the automatic and manual page breaks by looking at the page break line. * a. Colour ... Symbol d. Pattern Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
0 votes
    Which technique is being investigated as an approach to automatic programming? (a) generative CAI (b) specification by ... ) all of the mentioned Please answer the above question....
asked Sep 21, 2022 in Education by JackTerrance
0 votes
    Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 23, 2022 in Education by JackTerrance
0 votes
    Regarding the Castle Automatic Transaction Management Facility; I'm having some difficulties getting operations to ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    I have googled a lot about pagination of importing XML data into InDesign CS5, but problems are still ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 9, 2022 in Education by JackTerrance
0 votes
    I have googled a lot about pagination of importing XML data into InDesign CS5, but problems are still ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 5, 2022 in Education by JackTerrance
0 votes
    Electronic numerical integrated automatic computer is a type of Select the correct answer from above options...
asked Dec 22, 2021 in Education by JackTerrance
0 votes
    An attacker may use automatic brute forcing tool to compromise your ____________ (a) username (b) employee ID (c) ... Security questions and answers pdf, mcq on Cyber Security pdf,...
asked Nov 3, 2021 in Education by JackTerrance
0 votes
    The replacement of a bad block generally is not totally automatic because (a) data in bad block cannot be ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    Automatic Reasoning tool is used in_____. Personal Computers Microcomputers LISP Machines All of the above...
asked Mar 8, 2021 in Technology by JackTerrance
0 votes
    Where an automatic variable is stored?...
asked Jan 17, 2021 in Technology by JackTerrance
...