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 "
- ";
- }
- }
- ?>

Roshan RathodPosted Aug 4, 2020, 12:26 AM