Re: pulling data from database into editor

  •  04-09-2008, 8:42 AM

    Re: pulling data from database into editor

    Hello,
     
    I definitely have tried putting something into that property.
     
    I have tried both of the following:
     
             $editor->Text="$row_RS_libraryOschools['kyHomeDescription']";
     
             or
     
             $editor->Text="<?php echo $row_RS_libraryOschools['kyHomeDescription']; ?>";
     
    For both I get the following error message: 

    Parse error
    : syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/u5/jpike/kyschooldesigns.org/html/update/updateHomepage.php on line 182
     
    the $editor->Text line is line 182.  What am i doing wrong?
     
    Thanks!

View Complete Thread