So after some hours of research I didn´t find the solution to this:
$data1 = $_POST['dats'];
$sign = $_POST['sign'];
$teile = explode("$sign", $data1);
foreach($teile AS $newdat)
{
echo'<center><img src="http://somedomain.com/&text=',$newdat[0],'"></center></br>';
}
The foreach shows only the first number (ex. 1) but the array contains numbers like 1234. So the rest (234) is cutet off
Thanks for your help