that was very helpful, thanks. now I have a place to start.
(oh, yeah, I had to change name cuz i forgot the other password! so now I have two subscriptions. is there a way to fuse them together, or can the admin only do that?)
now just to have things clear.
PHP Code:
$user= $DB_site->query_first("...");
this is where it gathers all the info from the database. so here I would have to change it to retrieve data from my other database.
but the query ends with
PHP Code:
WHERE user.userid = $userid
the $userid variable, is that taken from the login input or the cookies?
last thing!! The admins and the moderators are not in the old database, they are in VB3's DB. So i want to do this
IF($userid is in the VB3 database) {do the query thats already there.}
else {query the other database.}
I tried doing this
PHP Code:
if($userid == $DB_site->query_test("SELECT userid FROM user WHERE userid = ".$userid))
do originalQuery
and it logs in fine, is redirected, then when forum shows up its all backwards and the buttons are gone, I have no idea whats causing this!