what is the purpose of $mysql_table_prefix
February 04, 2015 10:41PM
Hi,

I was just going through the code in the admin.php page and was wondering what is the purpose of the $mysql_table_prefix variable within the code?
I am just needing a basic search function so If it is for advanced purposes I may remove it.. I am creating parameterized queries so I would like to keep the SQL queries as basic as possible.
thanks for the help.

Sarah
Tec
Re: what is the purpose of $mysql_table_prefix
February 05, 2015 08:32AM
Not for 'advanced purpose', just to identify the Sphider tables in database. The original Sphider does not really need this suffix. But don't delete it in admin.php, as all scripts of the search engine do use this identifier. Each SQL access in each script needs to address the same table in database.

Tec
Sorry, only registered users may post in this forum.

Click here to login