Parse text file to array
$10-30 USD
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
Nº du projet : #16236790
À propos du projet
Décerné à:
15 freelances font une offre moyenne de 23 $ pour ce travail
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
Dear Sir, am excellent in php i can make text file to array please reply wish to work for you message to me
I am expert in web development using PHP / MySQL . I can do the parsing related work for text file to array.
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
I can parse the text into array, as per your requirement. Relevant Skills and Experience PHP Programming
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
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