F
F
felsme2019-02-13 23:58:38
PHP
felsme, 2019-02-13 23:58:38

Trimming a string into pieces with id?

How to cut a string like this '174252490 301224157 427558352' and put it into an array?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2019-02-14
@felsme

explode(' ', $string);
no need to shove them everywhere, almost never needed in normal development.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question