Jump to content

strtolower() isn't working. Returns empty string.


ttocskcaj

Recommended Posts

I noticed that strtolower() wasn't working. My script was adding blank rows to a text file that was supposed to be lowercase emails, so I wrote the following script to confirm it's not working:

<?php
$var = "Foo";
echo "$var<br />";
echo srttolower($var)."<br />";
$var = strtolower($var);
echo "$var<br />";
?>

This page just prints "Foo" once on the screen where I should see

Foo

foo

foo

 

 

I then checked my error log, and I'm getting Call to undefined function messages for strtolower().

Any ideas?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.