Parse text file to array

Terminé Publié le il y a 6 ans Paiement à la livraison
Terminé Paiement à la livraison

It is simple project. I need parser from text [GIFT question type] to array by php.

I've attached example of file.

Notices:

Parser for "MC" question type and "who" same.

Example of result Array:

$res = [

"$CATEGORY:truefalse" => [

["text" => "The lama came from a monastery in Tibet.",

"correct" => "T"],

["text" => "George and Chuck were teachers.",

"correct" => "F"]

],

"$CATEGORY:who" => [

["text" => "Who said this?<p>

'There is electricity available?'",

"variants" => ["Dr Wagner", "the lama", "Chuck", "George", ]

],

["text" => "Who said this?<p>

'We could always arrange for the computer to break down.'",

"variants" => ["Chuck", "the lama", "Dr Wagner", "George", ]

]

],

"$CATEGORY:MC" => [

["text" => "Who said this?<p>

'There is electricity available?'",

"variants" => ["Dr Wagner", "the lama", "Chuck", "George", ]

],

["text" => "Who said this?<p>

'We could always arrange for the computer to break down.'",

"variants" => ["Chuck", "the lama", "Dr Wagner", "George", ]

]

],

"$CATEGORY:Order" => [

["text" => "Put the following events in the order that they really happened.",

"variants" => ["The ship landed softly on the green grass.", "The worry slowly disappeared from Leon's face.", "It was two days before Lora spoke to Leon again."],

"show" => 6

],

],

"$CATEGORY:DESCR" => [

["text" => "The next questions are about Story A."]

],

]

#RULES

- Please make bid only if you agree to send all project files before milestone will be free.

- You should fix all bugs

PHP

Nº du projet : #16236790

À propos du projet

15 propositions Projet à distance Actif il y a 6 ans

Décerné à:

Tiefanovic2

Could you please send me the text file

%selectedBids___i_sum_sub_4% %project_currencyDetails_sign_sub_5% USD en 1 jour
(8 Commentaires)
3.9

15 freelances font une offre moyenne de 23 $ pour ce travail

Meagan26

Hello, I have read through your project and I am incredibly interested in taking on your project. I am an experienced developer with a diploma in the field of web development. i have recently also earned my preferre Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(229 Commentaires)
7.2
shanymathew

Dear Sir, am excellent in php i can make text file to array please reply wish to work for you message to me

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(56 Commentaires)
5.0
satyajeetkeshari

I am expert in web development using PHP / MySQL . I can do the parsing related work for text file to array.

$10 USD en 0 jours
(88 Commentaires)
5.1
eliaa

Hello, We are a backend and front end developers with 7 years experience We have used a lot of technology to implement my clients solutions. List of Services that we can help you - Build Responsive websites (Boot Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(20 Commentaires)
4.8
jagankolkata

I can parse the text into array, as per your requirement. Relevant Skills and Experience PHP Programming

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(56 Commentaires)
5.5
udaypatelmca

Hi, I read the job description, I can easily finish this job now. I am new and need reviews so can do your job at free of cost. thanks

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(6 Commentaires)
2.4
dkakai

I've worked on many projects in PHP therefore I'm the perfect candidate for this job, I'm a computer science student that means im an expert in programming

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(0 Commentaires)
0.0