This is the problematic part:
'$_SESSION['username']'
Change this to:
'" . $_SESSION['username'] . "'
2
solved Why is this giving me an error in PHP and MYSQL [closed]
This is the problematic part:
'$_SESSION['username']'
Change this to:
'" . $_SESSION['username'] . "'
2
solved Why is this giving me an error in PHP and MYSQL [closed]