A
Anonymous
Guest
To my mind problem is there:
As far as I remember the syntax of substr is:
string substr ( string string, int start [, int length])
example:
Try this, may be this is an answer.
Code:
$twodigits = substr($_POST['zip_code'], 2);
As far as I remember the syntax of substr is:
string substr ( string string, int start [, int length])
example:
Code:
$rest = substr("abcdef", 1, 3); // returns "bcd"
Try this, may be this is an answer.