php associative array username first letter

Ask A Question

Login To post a question
if(!in_array($user,$array)) //line no 5
        echo "please register";

                echo "welcome";

What changes should i do in line no 5 so user will be “sam” not “sam=>andy”??

For more info please click here

Have a question or need a custom quote?