I am currently using Dreamweaver to setup my php and mysql for a page. I have my system working great for inputting information to a database. When I update a file, I cannot pull the information into the editor window. I have tried a few ways of working with the value and echo combinations but still no luck. Here is the current setup (minus the value statement):
Wed, 10/11/2006 - 21:45
#1

RE: Update using php and echo
RE: Update using php and echo
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '300' ;
$oFCKeditor->Create() ;
?>
RE: Update using php and echo
I inserted this code and receive an error:
Parse error: parse error, unexpected T_STRING in /homepages/13/d(inforemoved)0/htdocs/admin/articles_edit5.php on line 127 which refers to this line:
$oFCKeditor->Value = '<?php echo $row_articles['body'];?>' ;Any ideas?
Thanks
RE: Update using php and echo
so:
$oFCKeditor->Value = $row_articles['body'];
should do it.
RE: Update using php and echo