Answer the question
In order to leave comments, you need to log in
How to convert a string written as a multidimensional array to a multidimensional array?
Good afternoon, please help me to convert a string to an array:
<table>
<thead>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
</tr>
</thead>
<tbody>
<tr>
<td>text</td>
<td>text</td>
<td>text</td>
</tr>
.........
</tbody>
Answer the question
In order to leave comments, you need to log in
This is JSON
$json = '';
$array = json_decode($json, true);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question