Welcome! Log In Create A New Profile


what is the purpose of $mysql_table_prefix

Posted by monksee 
what is the purpose of $mysql_table_prefix
February 05, 2015 12:41AM

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.

Re: what is the purpose of $mysql_table_prefix
February 05, 2015 10: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.

Sorry, only registered users may post in this forum.

Click here to login