this php query for login why it show me the syntax error like this"( ! ) Parse error: syntax error, unexpected '$sql_quey' (T_VARIABLE) in C:\wamp64\www\aps_db\Login.php on line 6" any one tel me plz
Asked
Active
Viewed 115 times
-1
-
Show a part of your code. – Orion Aug 08 '16 at 10:54
-
try php code checker – coder Aug 08 '16 at 10:55
4 Answers
1
Add a semi colon ; after following line.
$user_pass = "ali";
mysql_* extensions were deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used.
Alok Patel
- 7,552
- 5
- 27
- 47
0
Missing ; in 4 number line.Add ;something like:
$user_pass = "ali";
instead of:
$user_pass = "ali"
Chonchol Mahmud
- 2,891
- 5
- 33
- 68