Hi Guys,
I am using the FCKeditor to add a news system to my site.
I used to used just a input text field so that the user can add descriptions but i want them to use the FCKeditor.
So adding news is fine but when i have added news and then given the user the option to edit the news item i am struggerling to return the value from the DB into the FCKeditor.
This is the code i used to use in the value of the text box...
But this doesnt work??
anyideas please?/
I am using the FCKeditor to add a news system to my site.
I used to used just a input text field so that the user can add descriptions but i want them to use the FCKeditor.
So adding news is fine but when i have added news and then given the user the option to edit the news item i am struggerling to return the value from the DB into the FCKeditor.
This is the code i used to use in the value of the text box...
value="<?php echo $row_News['desc']; ?>"
But this doesnt work??
anyideas please?/
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
Re: How to return a value from a database using PHP into FCKedit
First off, fckOFF, spammer.
In response to the OP... I found this tutorial helpful in merging my FCKedit textarea with my php/mySQL form - http://www.msbware.com/p/view_article/article_id/110
Took me a couple hours of searching to find it, hopefully it answers your questions. Main thing that caught me up with the tutorial is at first it only returned the first character of my data, then I realized it was looking for the Array result of
whereas I had previously only defined $data as the already extracted variable.
Hi Guys,I am using the
Hi Guys,I am using the FCKeditor to add a news system to my site.I used to used just a input text field so that the user can add descriptions but i want them to use the FCKeditor.So adding news is fine but when i have added news and then given the user the...Click Here