troubleshooting Question

How do I "explode" this value

Avatar of Bruce Gust
Bruce GustFlag for United States of America asked on
PHP
1 Comment1 Solution204 ViewsLast Modified:
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?
ASKER CERTIFIED SOLUTION
Lukasz Chmielewski

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros