Explode Expects Parameter 2 To Be String Array Given

[Solved] Explode Expects Parameter 2 To Be String Array Given | Scala - Code Explorer | yomemimo.com
Question : explode() expects parameter 2 to be string, array given

Answered by : rui-fj2brd3pa284

<?php $tqs = "SELECT * FROM `table_two`"; $tqr = mysqli_query($dbc, $tqs); $row = mysqli_fetch_assoc($tqr); // Prints e.g.: 164, 165, 166 print_r($row['some_text_id']); echo "<br/><br/>"; echo "<br/><br/>"; $thearray = explode(", ", $row['some_text_id']); print_r($thearray);
?>

Source : https://stackoverflow.com/questions/26346784/warning-explode-expects-parameter-2-to-be-string-array-given | Last Update : Tue, 04 Jan 22

Answers related to explode expects parameter 2 to be string array given

Code Explorer Popular Question For Scala