0

Parse error: syntax error, unexpected '$smt' (T_VARIABLE) in C:\xampp\htdocs\sytemelogin.php on line 17

$smt->bind_param('sssiss',$prenom, $nom, $email, $numero, $Pays,  $condittion);
Nigel Ren
  • 56,122
  • 11
  • 43
  • 55
  • 2
    Please show your code, more than just that one line. – Phix Nov 19 '20 at 13:17
  • 1
    Does this answer your question? [PHP parse/syntax errors; and how to solve them](https://stackoverflow.com/questions/18050071/php-parse-syntax-errors-and-how-to-solve-them) – Paul T. Nov 19 '20 at 13:19
  • your smt variable is not initialized. How do you create the instance of it? – Christian Felix Nov 19 '20 at 13:20
  • 2
    You're probably missing a semi-colon on a previous line. Parse/syntax errors usually come from before the line number provided in the error message. – aynber Nov 19 '20 at 13:24
  • @ChristianFelix that's not relevant to this syntax error. – ADyson Nov 19 '20 at 13:34

0 Answers0