split - PHP Splitting a result -
i hoping ideas/help php. utilize next homecoming value in case 612b hex decimal. need flip 61 & 2b , create 2b61.
$skillsearch1 = odbc_exec($conn1,"select cast(cast(reverse(substring(strevent, 1, 1))as varbinary)as int) user_event struserid='loneranger'"); $skillfound1 = odbc_result($skillsearch1,1);
thanks.
edit 1:
where
str_split($test, 2)));
i had alter
str_split($test, 1)));
and got wanted. help.
$test = '1234'; $result = implode( // 3. bring together array string array_reverse( // 2. reverse order of array str_split($test, 2))); // 1. convert string array 2 chars values var_dump($result);
php split result flip
No comments:
Post a Comment