php - mysqli_connect() doesn't appear to be able to find the database -
ok here connection.php code:
<?php $dbcon = mysqli_connect("localhost","root","aparadekto2059","spitiinc"); if (mysqli_connect_errno()) { echo "failed connect: " . mysqli_connect_error(); } ?>
i have created database named "spitiinc
" through phpmyadmin
same error every time try connect it:
failed connect: base(spitiinc) inconnue
i guess have french version of program since means, base unknown pretty much. post 2 images of error screen , additionally of database existence. tried find answers in site 10 or saw, didn't have basic , that's troubles me. have made bare-bones basic thing, , doesn't work. appreciated , in advance
here image: http://s12.postimg.org/w1bsinwwd/wtf.jpg
Comments
Post a Comment