Menu

#4 Typos in the readme

open
nobody
None
5
2004-04-12
2004-04-12
Anonymous
No

There are some typos in the readme like:

Insert
$sql->execute('insert', array(['db' => $dbname],
'table' => $tablename, 'values' => array([$colname =>
$value]...)));
Inserts a row into $tablename which is inside the
currently selected database. If no database is
selected, you can select one using the $dbname
variable. $colname is the name of a column and $value
is the value for that column.

Example
<?php
include('./txtSQL.class.php');
$sql = new txtSQL('./data');
$sql->connect('root', '');

$sql->execute('select', <------- :)

Plus some of examples have an extra )

Discussion


Log in to post a comment.

MongoDB Logo MongoDB