string split ?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
raphael75
New php-forum User
New php-forum User
Posts: 31
Joined: Fri Apr 06, 2012 9:54 pm

Re: string split ?

Post by raphael75 » Mon Mar 31, 2014 10:37 am

I think you are looking for the explode() function:

http://us1.php.net/manual/en/function.explode.php

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: string split ?

Post by seandisanti » Wed Apr 02, 2014 1:35 am

as raphael75 suggests, explode is the way to go if you're storing both in the same value, but you're already sending an associative array with $_POST, why not have it so that the filename is the key and the data is the value?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests