$a = 333; $b = 444; $b = $a."|".$b; $b = explode ('|',$b); $a = $b[1]; $b = $b[0]; echo $a."<br>"; echo $b;