Knowband Blog | Ecommerce Modules
  • User Manual
  • Ecommerce
  • Magento
  • Opencart
  • Store
  • Prestashop
  •  English (English)

case insensitive array soring

Case-insensitive array sorting in the Php

Last Updated: April 3, 2019 Sunny Saurabh Leave a comment

Problem: $data = array(“A”,”M”,”X”,”b”,”d”,”E”,”l”); I need to sort the data base on value. When I use asort($data), got the following: [0] => A [5] => E [1] => M [2] => X [3] => b [4] => d [6] => l In the above example, “b”,”d” and “l” starts with a lower case but ends […]

Read More

Please wait...
Liked This Article?

Get Updated About More Such New Articles?

  • User Manual
  • Ecommerce
  • Magento
  • Opencart
  • Store
  • Prestashop
  • English (English)
Knowband Blog. All rights reserved.
Please wait...

Newsletter Subscription

Subscribe With Us and Get Latest Updates
SUBSCRIBE
x
Please wait...

Did not like?

Wait! Subscribe to our newsletter and explore other informative articles!