Avatar of Bruce Gust
Bruce Gust
Flag for United States of America

asked on 

How do I "explode" this value

Here' what I've got:

if(isset($_POST['chkbox_' . $row['id'] ]))
      $vivian_explosion= explode("_", $_POST['chkbox_' . $row[id]);
      echo $vivian_explosion[0];

I've got a value coming in, which is sound, but I need to retrieve the id and I'm blowing it at the "$vivian_explosion" line.

I'm getting this error: Parse error: syntax error, unexpected ')', expecting ']' in /home/content/b/r/u/brucegust/html/adm/playlist_featured_update.php on line 20

Line 20 is the vivian_explosion thing. What am I missing?

Avatar of undefined
Last Comment
Lukasz Chmielewski

8/22/2022 - Mon