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))
Did you know?Explore Trending and Topic pages for more stories like this.
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

Need help with a mail notify function
I was tasked with setting up a site that's been prewritten. The site is basically a form that captur

php or sql?
Sorry not sure if this is a sql problem or php the following code is supposed to delete data from th

cURL error
So here is my code... I got it off of here... http://www.youtube.com/watch?v=XcgQUsorF_8
Because

tell csv import script to ignore blank rows?
Hi i have the below script but i get an error if a row is blank ie a return in the csv file at the e

file_put_contents and createimagefromjpeg
All,
I do somethings and then I have the following code:
file_put_contents('./test/'.$filename

Adding post count
How would I make it so everytime someone clicks submit on my form, their row in the database for the

Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...

Code: $define_li

Image DPI
Hi.

I allow users to upload images, the user then is able to adjust several settings for the

php and downloading
I want to use a php script to create two files. Then I want it to redirect (or whatever) to have tho

Set Categories
I am creating a submission form for somebody to come in and submit products. These products are sep

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