Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    change filename to lowercase

    hi all,

    i just found out the filename system in Linux is case sensitive

    there are lots of links in my page come up with the first letter is Uppercase, because the link is of a variable value.

    for example, the link of a product in the search result will be
    PHP Code:
    Category: <A HREF="<?php echo $row[5]; ?>.php"> <?php echo $row[5]; ?></A>
    how do i change it to a lowercase link?

    thanks

  • #2
    Regular Coder BonRouge's Avatar
    Join Date
    Mar 2006
    Location
    Sendai, Japan
    Posts
    328
    Thanks
    0
    Thanked 0 Times in 0 Posts
    PHP Code:
    strtolower($row[5]) 

  • #3
    New Coder
    Join Date
    Jun 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks!!!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •