PHP Classes

Table

Recommend this page to a friend!

      Mysql2Search  >  All threads  >  Table  >  (Un) Subscribe thread alerts  
Subject:Table
Summary:table name
Messages:3
Author:Scott Pascal
Date:2015-03-03 21:04:38
 

  1. Table   Reply   Report abuse  
Picture of Scott Pascal Scott Pascal - 2015-03-03 21:04:38
Where to add the table name to search fields... I can't figure it out where to add it.

Thanks

  2. Re: Table   Reply   Report abuse  
Picture of Steven Steven - 2015-03-04 00:33:53 - In reply to message 1 from Scott Pascal
$searchfields = array('blog_mess', 'blog_reactions'); //edit this line- these are the colums in which to search
$blogdb = "blogdb"; //this is table name


  3. Re: Table   Reply   Report abuse  
Picture of eshban eshban - 2018-03-21 22:30:01 - In reply to message 2 from Steven
Hi, Instead of search in one table, I need to use multiple tables and definitely multiple fields. In that case how can I modify this?

$searchfields = array('blog_mess', 'blog_reactions');
$blogdb = "blogdb";

Thanks for this class

 
For more information send a message to info at phpclasses dot org.