External Users registration - how getting User-ID?

15.12.2014 15:54
#1
Jobos1
Joomshopping forum user no avatar
Name: J
07.10.2014
Posts: 30
Quote
External Users registration - how getting User-ID?

Hello,

I am creating an external page with a form, where the user can register to Joomla (and Joomshopping).

For the users data I see two important tables, "__jshopping_users" and "__users".

The filling of the table "__users" of Joomla is no problem, because the data is entered and the User-ID is created by AUTO-INCREMENT.

But how can I now insert a new entry in the "__jshopping_users"-table? At this point, I do not know where to get from the User-ID. How can I solve this with a query?

Should I make a query first which selects the newest user in the "_users"-table, but how should this look?

Would be glad for help,
thanks!


Joomla: 3.x
PHP: 5
MySQL: 5
 
21.12.2014 15:18
#2
Jobos1
Joomshopping forum user no avatar
Name: J
07.10.2014
Posts: 30
Quote
Aw: External Users registration - how getting User-ID?

nobody an idea?

Should I use the registersave() function?


Letzte Änderung: 22.12.2014 00:15
 
Copyrights MAXXmarketing GmbH. All Rights Reserved