nightkarnation Posted December 22, 2008 Share Posted December 22, 2008 Easy answer, stupid question: Lets say i have a variable named $filename How do i force it to be lower case on php ? Thanx in advance for ur reply Cheers! Quote Link to comment https://forums.phpfreaks.com/topic/138044-solved-force-a-string-variable-to-lower-case/ Share on other sites More sharing options...
dennismonsewicz Posted December 22, 2008 Share Posted December 22, 2008 http://us3.php.net/manual/en/function.strtolower.php That is assuming you are wanting to force the string in the var to be lower. Quote Link to comment https://forums.phpfreaks.com/topic/138044-solved-force-a-string-variable-to-lower-case/#findComment-721504 Share on other sites More sharing options...
nightkarnation Posted December 22, 2008 Author Share Posted December 22, 2008 Thanx dennismonsewicz From now on i should use more php.net Cheers! Quote Link to comment https://forums.phpfreaks.com/topic/138044-solved-force-a-string-variable-to-lower-case/#findComment-721512 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.