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

please help me in this update statment
hi every one

if I have table and this data in it

id name
10

Undefined variables
hi
----------------------------------------------------------------------------------------------

User input in to variable
Hi all,

I'm sure this is very easy but I'm having another brain freeze!

At the end of

do while...woes
I'm sure this is childsplay but it is stumping me, everytime i try what I think would make this work

having a small php error tha deals with the 'foreach'
Last night i was working on a script for a cart and it seemed to working good, until this morning. F

Filename and Line Number Custom Error
I have a class, with a method that accepts 2 parameters. I would like to output error messages.

Page doesn't expand for content
Hi. I've been testing a query I made. It's here http://lapr1.6te.net/inquerito.php
The page doesn

subtract 1 from value entered in text field
Hi

How do I subtract 1 from the vaue entered into a text field?

Thanks

An odd assignment statement. Can someone explain this assignment to me?
What purpose is served by the bit of code between the two equal signs in the $installurl set? Is th

Warning: mysql_num_rows() supplied argument is not a valid MySQL result resource
This may be simple I just may need another pair of eyes..

When i get records back the below c

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