Skip to content
011 322 44 568500 Beverly Boulevard Los Angeles, CA 90048
Linkedin page opens in new window
Beckin – Certified Magento & Salesforce Commerce Cloud Developer.
Beckin.com has been providing professional custom web development for over 10 years.
Beckin - Certified Magento & Salesforce Commerce Cloud Developer.Beckin - Certified Magento & Salesforce Commerce Cloud Developer.
  • Home
  • About
  • Sevices
  • Testimonials
  • Contact
  • Blog
Search:
Search
  • Home
  • About
  • Sevices
  • Testimonials
  • Contact
  • Blog

Blog

You are here:
  1. Home

Check Array To See If It Contains A String – in_array()

PHPBy Chris SilveyDecember 7, 2013Leave a comment

If you have an array that contains a hundred different values, you may be wondering how you can check if that array contains a certain string. As you may already know, you can use the foreach() function to echo out each value contained inside the array. But lets imagine that we simply want to execute…

Details

Insert A Comma Seperated String Into An Array – explode()

PHPBy Chris SilveyDecember 7, 2013Leave a comment

If you need to insert a comma seperated string into a variable you can accomplish this with the following code. Let’s take a look at our string.   We can insert our string into an array by simply using the explode() function.   Now if we use the print_r() function we can view our array.…

Details

Remove Commas From A String – str_replace()

PHPBy Chris SilveyDecember 6, 20131 Comment

If you find that you have a string that contains commas and you need to remove them you can do the following. Let’s assume your string looks like this. $myString = “1,5,6,11,18”; Now let’s strip those ugly commas from our variable $myString using the str_replace() function. $newString = str_replace( ‘,’, ”, $myString ); That’s it,…

Details

How To Compress and Extract Files Using SSH

ShellBy Chris SilveyDecember 6, 2013Leave a comment

Sometimes you may need to extract or create an archive file on your hosting server. The very first step in the process would be to identify the exact archive type by looking at the file extension. The most common archive types are zip (ending with .zip), tar (.tar), Tar+Gunzip (.tar.gz), Bzip (.bz2) and Rar (.rar).…

Details

Magento Get Store Code

Magento TutorialsBy Chris SilveyNovember 29, 2013Leave a comment

Grabbing the store code from Magento can be quite easy. The following code has always done the trick for me.

123456
Search
MY SKILLS
Magento100%
Commerce Cloud100%
Wordpress100%
OOP100%
MVC100%
PHP100%
MySQL / MySQLI100%
JavaScript100%
jQuery100%
HTML100%
CSS3100%
Categories
  • Linux/Centos(4)
  • Magento 2(4)
  • Magento Bug(1)
  • Magento Tutorials(17)
  • PHP(12)
  • Shell(2)
  • Wamp(1)
Archives
Tags
array array_filter Centos Centos 7 CMS comma commas compress controllers count coupon custom customer customer group id data database Delete Orders explode() extension extract fields Increase Magento Speed in_array() magento Magento 2 mysqldump Optimizing Magento product rar remove SQL ssh static block store code store code urls string str_replace tar tar.gz translate translation Truncate Table value wamp zip
Beckin - Certified Magento & Salesforce Commerce Cloud Developer.
© 2008 All rights reserved. Beckin.com
  • Certified Magento & Commerce Cloud Developer
Useful Links
Go to Top