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
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,
I am a beginner but did it like this, with a little help from my friends!!
$query = "INSERT INTO guests ";
$query .= "(guest_id, guest_name, ";
$query .= "guest_email, guest_time, guest_message) ";
$query .= "values(, '$name', '$email', NULL, '" .
str_replace("\n","", $message) . "