4 Answers4

1

You need to add ; on line number 4. You missed it.

Bogdan Burym
  • 5,482
  • 2
  • 27
  • 46
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,842
  • 5
  • 31
  • 47
0

Missing ; in 4 number line.Add ;something like:

 $user_pass = "ali";

instead of:

$user_pass = "ali"
Chonchol Mahmud
  • 2,717
  • 7
  • 39
  • 72
0

You forgot to add ; so it will be show error like this. add ";" on line 4

riya
  • 116
  • 15