Cure Serious Wounds

Make a spell card:

SELECT SPELL_GROUP.SPELL_ID, GROUPS.GROUP_ID, GROUPS.GROUPIE, GROUPS.DESCRIPTION FROM GROUPS INNER JOIN SPELL_GROUP ON GROUPS.GROUP_ID = SPELL_GROUP.GROUP_ID WHERE (((SPELL_GROUP.SPELL_ID)=129)) ORDER BY GROUPIE;
LD(0101064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'GROUPS INNER JOIN SPELL_GROUP ON GROUPS.GROUP_ID = SPELL_GROUP.GROUP_ID WHERE ((' at line 1

Notice: Trying to get property 'EOF' of non-object in /home/imarvintpa/prpg.imarvintpa.com/spells.php on line 110
NameCure Serious Wounds
SchoolConjuration (Healing)
LevelAdp 3, Brd 3, Clr 3, Drd 4, Healing 3, Pal 4, Rgr 4
ComponentsV, S
Casting Time1 standard action
Recharge TimeGeneral
RangeTouch
TargetCreature touched
DurationInstantaneous
Saving ThrowWill half (harmless); see text
Spell ResistanceYes (harmless); see text
Groups
Notice: Trying to get property 'EOF' of non-object in /home/imarvintpa/prpg.imarvintpa.com/spells.php on line 112

Notice: Trying to get property 'fields' of non-object in /home/imarvintpa/prpg.imarvintpa.com/spells.php on line 113

Notice: Trying to access array offset on value of type null in /home/imarvintpa/prpg.imarvintpa.com/spells.php on line 113

Notice: Trying to get property 'fields' of non-object in /home/imarvintpa/prpg.imarvintpa.com/spells.php on line 113

Notice: Trying to access array offset on value of type null in /home/imarvintpa/prpg.imarvintpa.com/spells.php on line 113

Notice: Trying to get property 'fields' of non-object in /home/imarvintpa/prpg.imarvintpa.com/spells.php on line 113

Notice: Trying to access array offset on value of type null in /home/imarvintpa/prpg.imarvintpa.com/spells.php on line 113

Fatal error: Uncaught Error: Call to a member function MoveNext() on bool in /home/imarvintpa/prpg.imarvintpa.com/spells.php:114 Stack trace: #0 {main} thrown in /home/imarvintpa/prpg.imarvintpa.com/spells.php on line 114