PHP - Wysiwyg
Sorry if this is the wrong spot for this topic, since I don't know how it is implemented into a site I didn't know where to put it. I have a site where the backend is going to be used by people who have no clue about HTML/PHP or any other coding language. I have a "description" field for each of the pages on the site but I need to allow some formatting in that field in case they need to create a new paragraph header, something bold, text size, or something like that. How do I add a WYSISYG option so they can do that without knowing html tags? I guess similar to the buttons used on this forum to add formatting.
Thanks. Similar Tutorialsok im using a wysiwyg and i include php should i secure with mysql_real_escape_string() or will it not work everything a admin write in the wysiwyg goes to table in the database I hope it is appropriate to ask this here?
Does anyone know of a WYSIWYG HTML editor that can be integrated into a web site (PHP/MYSQL based Bulletin Board), that has code synthax highlighting/display capabilities?
Kindly recommend as i wish to integrate one into my custom built bulletin board.
Thanks
I have a WYSIWYG on my site and somehow the users input it in the database with this at the end Code: [Select] <p The p tag is left open and messing up the styling on the page How can I fix it so this tag is removed or closed? Is there a php function I can use? This topic has been moved to JavaScript Help. http://www.phpfreaks.com/forums/index.php?topic=333966.0 Hello, first time poster.. I've looked the web over for a long time and can't figure this one out. - Below is basic code that successfully checks MySQL for a match and displays result. I was debugging and forced the "height" and "width" to be 24 and 36 to make sure that wasn't the problem. That's good.. - I'd like to give the user ability to select width and height from a form.. and have it do an onchange this.form.submit so the form can be changing as fields are altered (thus the onchange interaction) - In a normal coding environment I've done this numerous times with no "Page cannot be displayed" problems. It would simply change one select-option value at a time til they get down the form and click submit... but in WordPress I'm having trouble making even ONE single onchange work! - I've implemented the plugins they offer which allows you to "copy+paste" your php code directly into their wysiwyg editor. That works with basic tests like my first bullet point above. - I've copied and pasted the wordpress url (including the little ?page_id=123) into the form "action" url... that didn't work... tried forcing it into an <option value=""> tag.. didn't work. I'm just not sure. I've obviously put xx's in place of private info.. Why does this form give me Page Cannot Be Displayed in WordPress every time? It won't do anything no matter how simple.. using onchange.. Code.. $con = mysql_connect("xxxx.xxxxxxx.com","xxxxxx","xxxxx"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("xxxxxx", $con); $myprodwidth=24; $myprodheight=36; $result = mysql_query("SELECT * FROM product_sizes WHERE prodwidth='$myprodwidth' and prodheight='$myprodheight'"); while($row = mysql_fetch_array($result)) { echo $row['prodprice']; } mysql_close($con); <form method="post" action=""> <select name="myheight" onchange="this.form.submit();"> <option selected="selected" value="">select height</option> <option value="xxxxxxxxx.com/wordpress/?page_id=199&height=36">36</option> <option value="xxxxxxxxx.com/wordpress/?page_id=199&height=36">48</option> </select> |