Help adding strtolower( to my in_array


Posted on 16th Feb 2014 07:03 pm by admin

strtolower i need to add it to this to work, iuno how.

Code: $moderators = array('Admin', 'banana', 'orange');
if (in_array("{$_SESSION['user_name']}", $moderators))
print('Found it!');
i want str to lower to be added cause i need it to ignore if it's upper or lowercase letters by making it all lowercase olol

No comments posted yet

Your Answer:

Login to answer
252 Like 20 Dislike
Previous forums Next forums
Other forums

Hi, explode and strstr.
Hi, I seem to be confused about the strstr function, eg. i have a string like:
"a.b.c.d.e.f&

PHP FTP connect doesn't work with correct login
Hi!

i am working on this test code:
Quote<?php

$ftp_ser

Menu restriction
How can I restrict the individual menu that would appear when a user logs in so that all users are c

Problem with a select distinct
I have a problema with a select distinct, I have the next sql:

select distinct a,b,c,d fr

Header is not working in IE
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :

line breaks in between fetched file names
Hi,

I have this code:
Code: <?php
if($dir = opendir('files')){
while (($f

storing results of a function - previous result overwritten with new result
I have created a function to validate input.

function validate_dimension($value,$name) {
<

How to calculate days from variable date?
This will be easy for one of you gurus. I want to fetch the date from a variable date, for example:<

Remove letter from numeric textbox
I have a textbox that will search the employee database by entering in the employee ID and it will r

noob question
i traying to do a php form with auto replay for both(me and the user who send me a mail),

a u

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash