Re: [PHP] Text area with an echo command

2003-10-18 Thread John Nichel
Will wrote: Eugene, Thank You much :) I really appreciate it!!! Will PS: I am curious on other guys and gals would do this code. The way php allows for including of files, I tend to try and keep my html and php seperate...but that's just personal. The method Eugene suggested is also fine

Re: [PHP] Text area with an echo command

2003-10-18 Thread John Nichel
Will wrote: John, I have that script: $sql = "UPDATE $table_name5 SET care_id = '$_POST[care_id]', date = '$_POST[date]', common = '$_POST[common]', notes = '$_POST[notes]' WHERE notes_id ='$_POST[notes_id]'"; $result = @mysql_query($sql,$conn) or die(mysql_error()); header("

Re: [PHP] Text area with an echo command

2003-10-17 Thread Will
Eugene, Thank You much :) I really appreciate it!!! Will PS: I am curious on other guys and gals would do this code. Eugene Lee wrote: On Sat, Oct 18, 2003 at 01:27:05AM -0400, Will wrote: : : Thanks for the code but it comes up a parse error. I know I am new, but : this is driving me cr

Re: [PHP] Text area with an echo command

2003-10-17 Thread Eugene Lee
On Sat, Oct 18, 2003 at 01:27:05AM -0400, Will wrote: : : Thanks for the code but it comes up a parse error. I know I am new, but : this is driving me crazy!!! :( : Here is the code that I am working with: : : $display_block = " : : : : : : : ||Cage No.: $care_id | Common Name: : $common

Re: [PHP] Text area with an echo command

2003-10-17 Thread Will
Thanks for the code but it comes up a parse error. I know I am new, but this is driving me crazy!!! :( Here is the code that I am working with: $display_block = " ||Cage No.: $care_id | Common Name: $common|| Date: echo "Notes:\n " . htmlentities($notes) . "\n"; "; I know it does not

Re: [PHP] Text area with an echo command

2003-10-17 Thread Eugene Lee
On Sat, Oct 18, 2003 at 12:24:44AM -0400, Will wrote: : : John W. Holmes wrote: : : >Will wrote: : > : >>I have a question on echoing text from a database into a form. The : >>database is populated but it does not show up in the modify script : >>page. Can someone help me?? : >> : >>Here is the

Re: [PHP] Text area with an echo command

2003-10-17 Thread Will
John, I have that script: $sql = "UPDATE $table_name5 SET care_id = '$_POST[care_id]', date = '$_POST[date]', common = '$_POST[common]', notes = '$_POST[notes]' WHERE notes_id ='$_POST[notes_id]'"; $result = @mysql_query($sql,$conn) or die(mysql_error()); header("Location:

Re: [PHP] Text area with an echo command

2003-10-17 Thread John Nichel
Will wrote: That worked great!! But how do I get the info from the modify script back into the database?? With that code: $value It does not populated the database with the new text that was modified. Is there another way to do it?? I am learning PHP on my own so bare with me. Will You'll

Re: [PHP] Text area with an echo command

2003-10-17 Thread Will
That worked great!! But how do I get the info from the modify script back into the database?? With that code: $value It does not populated the database with the new text that was modified. Is there another way to do it?? I am learning PHP on my own so bare with me. Will John W. Holmes wro

Re: [PHP] Text area with an echo command

2003-10-17 Thread John W. Holmes
Will wrote: I have a question on echoing text from a database into a form. The database is populated but it does not show up in the modify script page. Can someone help me?? Here is the code that I am using: Notes: There is no "value" attribute for a textarea... $value -- ---John Holmes...