View Single Post
  #1  
Old 01-31-2017, 08:52 PM
Abronsyth's Avatar
Abronsyth Abronsyth is offline
A Headache Embodied
 
Join Date: Aug 2011
Location: NY
Posts: 1,011
Gender: Male
Credits: 114,142
Abronsyth is on a distinguished road
Default Help with Modification Issues

Hey all, me again!

I am working on a riddle system that will quickly allow admins to create riddles, activate one at a time, and then users can answer them and get a reward once each (per riddle).

However I am getting the most obnoxious error:
Parse error: syntax error, unexpected '=' in /home/inekelmy/public_html/view/riddleview.php on line 29

Here is the code it's referring to:
PHP Code:
            $id $mysidia->db->select("riddle", array("id"), ("name" $mysidia->input->post("currname")))->fetchColumn();
            
$clue $mysidia->db->select("riddle", array("clue"), ("name" $mysidia->input->post("currname")))->fetchColumn();
            
$solve $mysidia->db->select("riddle", array("solve"), ("name" $mysidia->input->post("currname")))->fetchColumn(); 
Does anyone see where I'm messing things up?
__________________
My Mods Site (1.3.4, 2020 Mods)
Reply With Quote