-4
I’m trying to make a variable from the bank that comes in the information together like 1234
I would need to leave this information like this '1','2','3','4'
to put in a select am using the echo substr("','".$nota_fiscal."',",1);
but show me thus '1','2','3','4'.
for a character the peter suggestion worked however I have cases that comes with more type 490569770099 and need to leave so '49056977','770099' the amount of characters comes varied.
this is an example of the data coming from the database? has a more detailed?
– Lodi
What if the value is greater than 9? Arrived
1234
, how do you know it’s1,2,3,4
and not1,2,34
or12,34
or123,4
?– Woss
each line is a number the first line brings 1 to the second 2 and so on...
– teste
Lines? What lines? What are the rules for recognizing values? Using the example you gave yourself,
490569770099
, how do we know you need to separate into49056977,770099
and not in490569,77770099
?– Woss
this information is coming from the bank
– teste