CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Change MySQL table name depending on group_id

Print topic Send  topic

Author Message
Snorky
Posted: 02/12/2003, 3:02 AM

Hello,
I have the following problem.
Depending on the group_id I would like to use a different table.
The users however do have tables that they share.
Only one specific tablename should change.

Can anybody advise me on how to do this.
I use MySQL and PHP.
Ken
Posted: 02/12/2003, 4:54 AM

I would create different pages for each table and redirect to the pages depending on GroupID. There is an example of how to do this here: http://www.kabwebs.com/ccsniplets/index.php

Good Luck!

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.