hello all , i got a small problem and hope that someone can help me with it
i am trying to add free silk to new accounts and i have tried allot of different register pages from everywhere and none of them seam to work for me so i made my own and have it working about 90% and just need a small bit of help with the last part , anyways here is the problem and the command line
$mssql->dbQuery("insert into TB_User (StrUserID, password, Name, Email, reg_ip, sec_primary, sec_content) values ('$usr', '$pwd', '$pwdentered', '$email', '$ip', 3, 3)");
$mssql->dbQuery("insert into SK_Silk (JID, silk_own, silk_gift, silk_point) values ('$row[JID]','5000','0','0')");
-----------------------------------------------------
and this works perfectly except for one part which is the '$row[JID]' it just wont put in the user's jid number it will put everything else in and create the silk account but it comes out like this => 0 5000 0 0
so what i need to know is what command do i need to put in place of $row[JID] to get it to get the users JID to give the account the 5000 silk ?
please if anyone can help me with this i will be very happy , thanks






