|
|||||||||
|
|
Articles » [Error for vector(entity:article..name): Invalid entity vector specified: article..name]
CommentsNice Article. Please keep posting! Expecting more articles on mysqlstored procedures too. Let me bookmark u!
Hello, thanks for your help.
i am in front of one error due to : if ($_POST['submit_form'] == 1) { it says : "Notice: Undefined index: submit_form in I:\Program Files\EasyPHP 2.0b1\www\index.php on line 9" Do you know where it comes from??? thanks After some researches thanks google i found the solution to fix it,
just replace the line by : if (isset($_POST['submit_form'])) { Hi.. Thanks for your help.
This is working fine for inserting and retrieving data from database. But one problem I am facing is, its not displaying the edited text color after saving. Its displaying the default black color of the text. Please help me how to fix this.. Thanks & Regards, Siddharth Hey,
Thanks for this article it is very practical and get thing up and running. Thank you again Yours informstive and helpful article
for colur in out put put this code in where u make file after fopen
$string = str_replace("\"","", $string); $string = str_replace("\\","\"", $string); this code solve your problem... Hi Michael, Thank you for a very usefull article. Would you mind of explaning of the colur issue more clearly.
Thank you. Cool site.
Thanks Michael for this great howto!
To Nihat: What faizan means (i guess) is : $data["data"] = str_replace("\"","", $data["data"]); $data["data"] = str_replace("\\","\"", $data["data"]); added after the line : $data = mysql_fetch_array($query); It worked for me! 413x and nihat:
thanks alot for solving this problem My problem was not only the color letters, it whas basicly everything that wasn't a simple text. I needed to put pictures, links, etc.. and it gave me he code full of "/" and never showed up like it was ment to, but whith this fix, everything is working fine. thanks guys..... Oh it was very much helpful for me.
Is there any way to hide some component Rather than str_replace, try stripslashes().
As in:
$data['data'] = stripslashes($data['data']);
Salim, what component would you like to hide, the Toolbar icons?
If so then edit the fckeditor/fckconfig.js file by adding a ToolbarSets with a unique name (under the Default and Basic ones):
FCKConfig.ToolbarSets["Salim"] = [
['Source','-','Save','NewPage','Preview'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent','Blockquote'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Rule','Smiley'], '/', ['FontName','FontSize'], ['TextColor','BGColor'], ['FitWindow'] // No comma for the last row. ] ; You can add/substract whatever features suit you. Then add a line to the script like this:
$oFCKeditor = new FCKeditor('fcktext');
$oFCKeditor->BasePath = "/includes/FCKeditor/"; $oFCKeditor->Value = $data["data"]; $oFCKeditor->Width = 540; $oFCKeditor->Height = 400; $oFCKeditor->ToolbarSet = 'Salim'; echo $oFCKeditor->CreateHtml(); If that's not what you're talking about, then nevermind. Great tutorial. I'm currently building a news section to my site and need the function to add, edit and delete an article. Is there a way to adapt this code so I can add new articles and then have access to edit them. Also is it possible to have more than one entry field but only one submit button that uploads all the entry fields. I have a form with four fields but don't want a button at the end of each one. If been trying without success to achieve this. Any help or pointers in the right direction would be gratefully recieved. Thanks
Hi!
Very good article! Thank you very much! symon00 jjojojo
really useful article - have been browsing the web for a while now trying to find something so clear. superb thanks
great one :)
cheers ;) Anyone knows how to remove the fckeditor and display the content we typed in on the same web page?
Thanks in advance. Thanks for the info.. I was able to create an update page for a jobs site for a friend with the site info.
I just pulled it straight from the database with a select * query and used this $oFCKeditor->Value = $myrow["Jobpost"] ; hope that helps someone... thanx it really helped me a lot...
Cart.ferprobt
What with this?
[code] $var1 = $var2 = false; [/code] If i want 2 vars to have same value? Great one
I like this Web promoter http://www.web-softsolution.com Thanks a lot.
Its a very good article on fckeditor-php-mysql how can i put a message after saving?
Also another binary operator is the Concatenation Operator, this operator combines strings with variables or other strings. Or variables with stings or other variables. This operator i identified with the period: (.)
Example: echo "The stack begins with ".$lamp_l; (Where $lamp_l = "linux") So basically we are echoing: The stack begins with linux. @gary_h: Thanks! i can configure my toolbars now.
|
|
|||||||
| Powered by Vectoran | TX Sales Tax Permit | Follow Us on Twitter | |||||||||
its helps me a lot. :)
i´m sorry my mistakes in type, because i´m from portugal
but i have a doubt.
i implemented in my website this script but just can edit one page, the ones who have the variable $data on database.
this tutorial shows how to work only with one record in the database.
how can i work with more records/pages?
Thanks,
Pedro