富文本框的PHP [英] rich textbox for php
本文介绍了富文本框的PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您如何为我的cms创建一个富文本框,可以更改我的内容的文本和上传图像?
hi how can I create a rich text box for my cms that can alter the text and upload image for my content?
推荐答案
HTML5允许div编辑运行网站。使用聪明的JavaScript,您可以将div转换为智能文档编写器。
您还可以遵循codeproject文本框样式。它是一个简单的textarea。你所要做的就是做一些javascripting。
HTML5 allow div to edit on running site. with clever javascript you can convert a div to smart document writer.
you can also follow codeproject textbox style. its a simple textarea. all you have to do is do some javascripting.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="CSS/stile.css">
<title>tabella</title>
</head>
<body>
<br>
<div class="titlebarpesiti" style="background-color:#22AEB9">
CONTROLLO SITO
</div>
<br>
<br>
<div class="titlebarpesiti">
<form id="richiesta dati" name="richiesta dati" method="POST" action="PHP/Scrittura_dati.php">
<label for="festa">Festa: </label><input type="text" name="festa"> <br> <br>
<label for="data">Data: </label><input type="text" name="data"><br> <br>
<label for="luogo">Luogo: </label><input type="text" name="luogo"><br> <br>
<label for="prezzo">Prezzo: </label><input type="text" name="prezzo"><br> <br>
<label for="bus">Bus: </label><input type="text" name="bus"><br> <br>
<label for="organizzatori">Organizzatori: </label><input type="text" name="organizzatore"><br> <br>
<label for="dettagli">Altre info: </label><input type="text" name="dettagli"><br> <br>
<input type="submit" value="Invia Dati"><br> </br>
</form>
</div>
<div class="titlebarpesiti" style="background-color:#FF0004">
ELIMINARE DATI
<form id="eliminare dati" name="eliminare dati" method="POST" action="PHP/eliminaredati.php">
<input type="text" name="ideliminare">
<input type="submit" value="INVIO"><br> </br>
</form>
</div>
<br>
<br>
</body>
</html>
这篇关于富文本框的PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文