hi guy i have the page to insert data, how put the text area with wysiwyg, any idea
<?php
if (array_key_exists('insert', $_POST)) {
include('includes/conn_pdo.inc.php');
include('includes/corefuncs.php');
// remove backslashes
nukeMagicQuotes();
// initialize flag
$OK = false;
// create database connection
$conn = dbConnect('admin');
// create SQL
$sql = 'INSERT INTO journal (title, article, created)
VALUES(:title, :article, NOW())';
// prepare the statement
$stmt = $conn->prepare($sql);
// bind the parameters and execute the statement
$stmt->bindParam(':title', $_POST['title'], PDO:

ARAM_STR);
$stmt->bindParam(':article', $_POST['article'], PDO:

ARAM_STR);
$OK = $stmt->execute();
// redirect if successful or display error
if ($OK) {
header( 'Location:
http://localhost/php%20solutions/adm...ist.php');
exit;
}
else {
$error = $stmt->errorInfo();
echo $error[2];
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Journal - insert new record</title>
<link href="assets/admin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Insert new journal entry </h1>
<form id="form1" name="form1" method="post" action="">
<p>
<label for="title">Title:</label>
<input name="title" type="text" class="widebox" id="title" />
</p>
<p>
<label for="article">Article:</label>
<textarea name="article" cols="60" rows="8" class="widebox" id="article"></textarea>
</p>
<p>
<input type="submit" name="insert" value="Insert new entry" />
</p>
</form>
</body>
</html>