Re: $html-textarea displaying actual html codes

2008-07-12 Thread simonb
You need to sit down and design a basic application in cakephp and read all the resources. I don't mean to be rude but I spent a good 3 months learning the conventions and inner workings for cakephp and it proved to be useful. You seem as though you don't have the basic understanding of this

Re: $html-textarea displaying actual html codes

2008-07-11 Thread Vixy
Thanks, I'll go with the 3rd option. How can I disable it from CakePHP? What files do I need to edit? Thanks, Vix On Jul 10, 3:58 pm, Lance Willett [EMAIL PROTECTED] wrote: Thanks, my question is, how can i stop the script from out putting the html code when its inserted through the comments

Re: $html-textarea displaying actual html codes

2008-07-11 Thread Vixy
No one knows the answer to this? i really need help people. On Jul 10, 4:14 pm, Vixy [EMAIL PROTECTED] wrote: Thanks, I'll go with the 3rd option. How can I disable it from CakePHP? What files do I need to edit? Thanks, Vix On Jul 10, 3:58 pm, Lance Willett [EMAIL PROTECTED] wrote:

Re: $html-textarea displaying actual html codes

2008-07-10 Thread Lance Willett
The problem is, when i put html codes in the $html-textarea fields, it actually outputs the html codes, how can i stop it from outputting the actual html and only show the html codes in plain text? Are you trying to enter HTML values into the value attribute for the textarea? Or is your

Re: $html-textarea displaying actual html codes

2008-07-10 Thread Lance Willett
Thanks, my question is, how can i stop the script from out putting the html code when its inserted through the comments box? It appears that you are using a JavaScript comment form preview script, which unfortunately I can't help you with—and if it *is* a JavaScript issue it's probably not a

$html-textarea displaying actual html codes

2008-07-09 Thread Vixy
Hello, I just started using cakePHP and im working on a social netowrk with it. The problem is, when i put html codes in the $html-textarea fields, it actually outputs the html codes, how can i stop it from outputting the actual html and only show the html codes in plain text? I looked in the

Re: $html-textarea displaying actual html codes

2008-07-09 Thread rtconner
really? i guess you could do htmlspecialchars($form-textarea(...)); On Jul 9, 1:53 pm, Vixy [EMAIL PROTECTED] wrote: Hello, I just started using cakePHP and im working on a social netowrk with it. The problem is, when i put html codes in the $html-textarea fields, it actually outputs the html

Re: $html-textarea displaying actual html codes

2008-07-09 Thread Vixy
tried that it didnt work, i added that code to the view file and it didn't work, can you please tell me where i should be adding it etc. Thanks, Vix On Jul 9, 4:43 pm, rtconner [EMAIL PROTECTED] wrote: really? i guess you could do htmlspecialchars($form-textarea(...)); On Jul 9, 1:53 pm, Vixy