I have a some auto-generation string with number. It’s can be from 0 to 99.
How i can choose each “2,3,4” from this? (x2,x3,x4 etc)
$n = 53;
if($i == ?){ echo "there is 3";}
What i need to print instead “?” symbol?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
really just guessing here:
the code
returns the last character of the string $i
to cover 2 or 3 or 4