bairh
Joined: 13 Sep 2005
Posts: 7
|
| Posted: Wed Sep 14, 2005 2:29 pm Post subject: Thoughts on a new modification |
|
|
I have been having a small issue with PHPFinance and I corrected it and I wanted to know your thoughts.
I am using PHPFinance in a mySQL database that contains other tables and the group page was showing all of my tables, not just the phpfinance ones. So I added the idea of a $cfg_dbprefix to the inc.conf.php file. This variable is then used in all selects, creates, deletes, etc when you are trying to reference the data. Now phpfinance has its own tables.
For instance my $cfg_dbprefix = "phpfinance" and my tables are all named...
phpfinance_in_Adds
phpfinance_out_Maintenance
What do you think?
*Update*
I made a little change again that says if $cfg_dbprefix is "" or not defined then stick with the old way.
in_Adds
out_Maintenance
-Candybar- |
|