Jump to content

array question


Recommended Posts

why is $catch_ae coming up as an empty string? All I want to do is break the string up and get the first value in the second explode.

$first_split = explode(" ",$sel_drawings);echo "first split <br/>";var_dump($first_split);echo "<br/>";foreach($first_split as $step){	$second_split = explode(",", $step);	$catch_ae = $second_split[0];}echo "second string: <br/>";var_dump($second_split);

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...