when using php, i send a value to email via POST method, i want it to add a space, after the 6th character (number in this case) when showing up on the email. So via php, i send it on this way:
ID Number : ".$_POST['idnumber']."
and when i get it on the email, currently is like this:
ID Number : 965128523171363920
So what i'm trying to do is to add a space after the sixth number when it comes to my email, that would look like this:
ID Number : 965128 523171363920
Is this possible on PHP, i'm sorry i'm a newbie on this.. Thank You in Advance
preg_replace('~^(\d{6})~', '\\1 ', $_POST['idnumber'])