Question By
Unsolved

Help Needed! Syntax Error

tom-wilson

Oct 27th, 2017 12:26 PM

<p>&lt;p&gt;Hi all,&lt;/p&gt;</p> <p>&lt;p&gt;I am following this tutorial: https://www.youtube.com/watch?v=bjT5PJn0Mu8&amp;t&lt;/p&gt;</p> <p>&lt;p&gt;I have ran into a few errors, I am changing it up a little. For example, I am using several different inputs, attached is my code and I am getting an error an unsure why. The error is " *syntax error, unexpected '$stmt' (TVARIABLE) in C:\wamp64\www\studentplanner\register.php on line 12* "&lt;/p&gt;</p> <p>&lt;p&gt;Here is my code: https://pastebin.com/imrED4vg</p> <p>&lt;p&gt;I hope you guys can help me, thanks ;)&lt;/p&gt;</p>
tom-wilson

Oct 29th, 2017 02:18 PM

Okay... scrap everything!

I am now confused, this is the error I am getting: https://pastebin.com/Rhpft6bm

This is my register-check page: https://pastebin.com/3hUKdaKg

mark

Nov 1st, 2017 09:10 AM

You need to initiate the MySQLi connection. The variable $mysqli is not defined it seems.