[PHP-DB] Where did my Hard Returns go?

2006-03-01 Thread Jeff Broomall
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.

Re: [PHP-DB] Where did my Hard Returns go?

2006-03-01 Thread Jeff Broomall
] 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

RE: [PHP-DB] Where did my Hard Returns go?

2006-03-01 Thread Dwight Altman
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

Re: [PHP-DB] Where did my Hard Returns go?

2006-03-01 Thread Philip Pryce
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

Re: [PHP-DB] Where did my Hard Returns go?

2006-03-01 Thread Micah Stevens
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

RE: [PHP-DB] Where did my Hard Returns go?

2006-03-01 Thread Dwight Altman
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