Good morning.
I created an edit_task page that allows the user to edit tasks for the
database. I entered some text and used some hard returns.
But when I went to view the tasks (using a PHP script if it matters),
the hard returns didn't take. None of em. All of the text is
jumbled together.
]
To: php-db@lists.php.net
Sent: Wednesday, March 01, 2006 9:00 AM
Subject: [PHP-DB] Where did my Hard Returns go?
Good morning.
I created an edit_task page that allows the user to edit tasks for the
database. I entered some text and used some hard returns.
But when I went to view the tasks (using
Broomall
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Where did my Hard Returns go?
As for an update...
Through trial-and-error, I've determined the following don't work...
Attempt 1:
nl2br($result) = mysql_query ($query); // Run the query.
Attempt 2:
$result = mysql_query ($query); // Run
You can't assign a value to a function!
that is actually incorrect, the list(); function assigns a value to a
functions vars.
--
~Philip Pryce
list() is a language construct.
On Wednesday 01 March 2006 9:18 am, Philip Pryce wrote:
You can't assign a value to a function!
that is actually incorrect, the list(); function assigns a value to a
functions vars.
--
~Philip Pryce
--
PHP Database Mailing List (http://www.php.net/)
To
to write:
if (...
instead of
if(...
-Original Message-
From: Philip Pryce [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 01, 2006 11:19 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Where did my Hard Returns go?
You can't assign a value to a function!
that is actually incorrect