Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to connect to database : challenge in Sqli-labs #33

Open
asmaaali101 opened this issue Nov 11, 2020 · 1 comment
Open

unable to connect to database : challenge in Sqli-labs #33

asmaaali101 opened this issue Nov 11, 2020 · 1 comment

Comments

@asmaaali101
Copy link

How can I solve the problem
image (1)

@h0rs3fa11
Copy link

If you're using PHP 7, check your function mysqli_select_dbin sql-connections/sql-connect.php and other files, In contrast with mysql_select_db, it should be mysqli_select_db($con, $dbname) not mysqli_select_db($dbname, $con).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants