I was stuck at one point today in my work, and I had lost all hopes of finishing that part of the code today. And that was when I found this person Mr. Peter Lavin on the internet who had put up this one line in his article
eval('$newarray = ' . var_export($array, true) . ';');
This one line really opened up things for me, and if all goes well I can finish all that I have set myself to do!!! Yippee!!
Here is the link to that page, for those of you looking for help:
And hats off to all those people who make it a point to share their working knowledge by way of tutorials!!!!