Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tootekood( $sku = null ) {
- if ( !empty( $sku ) ) {
- $newstr = substr($sku, 0, strpos($sku, '-', strpos($sku, '-')+1));
- return $newstr;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement