Gossamer Forum
Home : Products : DBMan SQL : Discussion :

2 Usertables within one template/application

Quote Reply
2 Usertables within one template/application
Hi,

is it possible and if yes how does it work to have two different usertables within one template/application?



If yes: if I have to login-forms (each for one of the user-tables) on my home.html how do I pass the right usertable for each submit-form to DBManSQL?

Regards,
Manu

Shopping Portal Shop-Netz.de® | Partnerprogramme | Flugreisen & Billigflüge | KESTERMEDIA e.K. | European Affiliate Marketing Forum.
Quote Reply
Re: [ManuGermany] 2 Usertables within one template/application In reply to
Hi,

Sorry about the late reply! You can do something like:

<%if db eq 'table1'%>
<%include template_table1.html%>
<%else%>
<%include template_table2.html%>
<%endif%>

In Reply To:
I pass the right usertable for each submit-form to DBManSQL?
The db hidden object should be:
<input type="hidden" name="db" value="<%db%>">

TheStone.

B.