string split ?

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

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

Mon Mar 31, 2014 10:37 am

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

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

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
  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests