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

PHP5 - Verifying a secure mail is secure
I need to send an e-mail from a form to a external department and because it contains personal custo

connect() succeeds but accept() does not?
Please help me with this problem. I'm working on a time-sensitive project where I'm using TCP socket

Storing Values taken from a DB...
Using this code it will generate a short list from my database

<?php
mysql_connect

this code is strange !
Hi i got this code from the web.. It checks for live and dead socks
It is working perfectly on my

Schedule editor
Hi,

I have a question related to Schedule editor.
If we schedule a BLS for every 30

parameter passing issue on function
Well I thought I had created a pretty slick web page, using ?page and $_GET to load pages which wher

Help please - How to validate from 2 possible answers
Hi

I hope somebody can help me with what will probably be really simple, I'm pulling my hair

need to apply an if/else statement to Tim Thumb script
Not sure how to work this. I essentially want to call a variety of image sizes based on which style

Running External Scripts
I am very new to PHP and am not even sure what I'm asking is possible. I have just installed mediaW

need help about
i store the value of my select statement result to an array and stored it to a variable named $fname

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