The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
The score grabbing works, but now I need the the values in the "gscore,sscore,hscore and rscore" fields
![]() So far, they return: gscore sscore hscore rscore I am not sure what type of field they should be (I have them set as VARCHAR ![]() This code is what needs to be modified to get the value (everything else works ![]() ![]() Code:
$score = $DB_site->query_first("SELECT '$whichscore' FROM *tablename*_questions WHERE qid='$theqid'"); if ($bbuserinfo['usergroupid']==2) { $DB_site->query("UPDATE user SET question1='$theqid',score1='$score[$whichscore]' WHERE userid='$bbuserinfo[userid]'"); } ![]() Satan |
#2
|
||||
|
||||
![]()
Please - Can anyone help? I really need to get this finished
![]() Satan |
#3
|
||||
|
||||
![]()
Please?
![]() Satan |
#4
|
||||
|
||||
![]()
Did you get it working?
|
#5
|
||||
|
||||
![]()
No
![]() It still returns the field name ![]() Satan |
#6
|
||||
|
||||
![]()
Can anyone help?
Satan |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|