I can't figure out on where I get the error on lines 05 and 06. Please help.
- $config=mysqli_connect("localhost","root","");
- mysqli_select_db($config,"dk");
- function register($id,$uname,$pass){
- $q="insert into users values ('$id','$uname','$pass')";
- mysqli_query("alter table users auto_increment = 1");
- if(mysqli_query($q)){
- mkdir("$dir", 0700);
- echo "
- ";
- }
- else{
- echo "
- ";
- }
- }
- ?>

Laxmidhar SahooRank #383 · 6.6K reputationPosted Aug 3, 2020, 5:55 AM EDT
Laxmidhar SahooRank #383 · 6.6K reputationPosted Aug 3, 2020, 6:20 AM EDT
" . $conn->error;
Laxmidhar SahooRank #383 · 6.6K reputationPosted Aug 3, 2020, 6:42 AM EDT
Jeff Literal14 reputationPosted Aug 3, 2020, 6:07 AM EDT
Jeff Literal14 reputationPosted Aug 3, 2020, 6:28 AM EDT
Roshan RathodRank #494 · 5K reputationPosted Aug 3, 2020, 8:26 PM EDT