Jump to content
php.lv forumi

Recommended Posts

Posted

HTML lapele

Please note that you should probably only include the TinyMCE javascript on the pages that need it, not all the pages of the web site. Remember to change the URL to the .js below to match your installation path.
[edit]
The most basic page integration (converts all textarea elements into editors)

<html>
<head>
<title>TinyMCE Test</title>
<script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script>
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas"

});
</script>
</head>
<body>
<form method="post" action="wii.php">
<textarea name="content" cols="50" rows="15">buch buch sawlje</textarea>
</form>
</body>
</html>

un wii.php

<?php
$var=$_POST['content'];
echo $var;
?>

Posted (edited)

penemsim ka tad tagad man to zinu no db dabuut ieksh to kruto editoru joptvai kas pa dusmu

Edited by Troxy
×
×
  • Create New...