NextCode Forum Index NextCode
Open Source Software Creation
 

Thoughts on a new modification
Click here to go to the original topic

 
       NextCode Forum Index -> General (phpfinance)
View previous topic :: View next topic  
Author Message
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-
Back to top  
 
       NextCode Forum Index -> General (phpfinance)
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group