How could I be splitting this string up?
#1

So let's say that I have the date 30-01-2016 in a variable named date, which would be new date[24];.
How could I split every number in different variables?
So the 30 will be in a new variable, the 01 would be in a different variable and 2016 would be in a different variable?
Reply
#2

Here
PHP код:
sscanf(date"p<->iii"day ,monthyear); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)