PHP Classes

File: mysql.php

Recommend this page to a friend!
  Classes of Cesar D. Rodas   RodaSpell   mysql.php   Download  
File: mysql.php
Role: Example script
Content type: text/plain
Description: MySQL example
Class: RodaSpell
Correct text spelling using a SQL database
Author: By
Last change:
Date: 17 years ago
Size: 542 bytes


Class file image Download
include "rodaspell.php";

$spell = new RodaSpell;
$t = new Timer;

$spell->mysql = true;
$spell->m_user = "root";
$spell->m_pass = "";
$spell->db = "saddor"; /* Database */

$spell->install() /* install */;


print_r($spell->correct("sesar trata de comprar mcrosoft"));
"<br>Correction with MySQL: ".$t->get_time()." seconds <hr>";