Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv8878
Modified Files:
mysql.php
Log Message:
yet another E_NOTICED fixed and some comments added.
Index: mysql.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/mysql.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** mysql.php 2001/01/01 23:34:57 1.9
--- mysql.php 2001/01/04 18:37:56 1.10
***************
*** 58,61 ****
--- 58,62 ----
+ // prepare $pagehash for storing in mysql
function MakeDBHash($pagename, $pagehash)
{
***************
*** 73,76 ****
--- 74,79 ----
}
+
+ // convert mysql result $dbhash to $pagehash
function MakePageHash($dbhash)
{
***************
*** 207,210 ****
--- 210,214 ----
$search = addslashes(preg_replace("/\s+/", " ", $search));
$term = strtok($search, ' ');
+ $clause = '';
while($term) {
$word = "$term";
|