Re: [PHP-DB] MySQL/PHP Form & Addslashes() command

2001-01-26 Thread Mage
Hello! JJeffman wrote: > There is the "nl2br()" function too : > // From php manual : > > nl2br -- Converts new lines to HTML line breaks. > Description > > string nl2br(string string); > > Returns string with '' inserted before all new lines. > Sure, but never add any html tag

Re: [PHP-DB] MySQL/PHP Form & Addslashes() command

2001-01-26 Thread JJeffman
gem Original- De: Rubanowicz, Lisa <[EMAIL PROTECTED]> Para: 'James Smith' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Enviada em: sexta-feira, 26 de janeiro de 2001 07:59 Assunto: RE: [PHP-DB] MySQL/PHP Form & Addslashes() command > I am a beginner but did it like this,

RE: [PHP-DB] MySQL/PHP Form & Addslashes() command

2001-01-26 Thread Rubanowicz, Lisa
;$email', NULL, '" . str_replace("\n","", $message) . "')"; Where $message is the TEXTAREA box submitted All the best Lisa -Original Message- From: James Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 25, 2001 8:50 PM To: [EMAIL PR

[PHP-DB] MySQL/PHP Form & Addslashes() command

2001-01-25 Thread James Smith
Alright, you have a textarea in a form, say some one right this: Today, during the meeting blah blah blah... (now they want to start a new paragraph, so they press enter twice.) After the construction meeting blah blah blah... Ok... Now the question. The addslashes() command won't add the NUL