MySQL/PHP to get login ID
Posted: Wed Oct 10, 2018 10:46 pm
Ok, I've got my login set up and working (finally). Unfortunately WYSIWYG only allows for what 14 fields and I need a bunch more than that.
So I created another table and the userID is the same between the two tables so I can just pull from both. I need an alternate solution because when I try to add php in WYSIWYG I get some strange results and would rather just code outside WYSIWYG for these couple of pages.
My question is how do I get the current logged in userID from the WYSIWYG log in? Is it stored in a cookie, a session?
Then end result would be the user logging in and seeing all their personal information (30 fields at this point - maybe more) based on their login credentials.
So I created another table and the userID is the same between the two tables so I can just pull from both. I need an alternate solution because when I try to add php in WYSIWYG I get some strange results and would rather just code outside WYSIWYG for these couple of pages.
My question is how do I get the current logged in userID from the WYSIWYG log in? Is it stored in a cookie, a session?
Then end result would be the user logging in and seeing all their personal information (30 fields at this point - maybe more) based on their login credentials.