php - Double quotes inside array -
I have this line of code in my file, but in the return array part, I should have double quotes inside the array.
If I just walk the way, it crashes.
How can I solve this problem? If you have already selected the maximum number of pictures for this shirt ($ number_of_picture_allowed & lt; = $ number_of_picture) Return Array ('Error' = & gt; "{tr domain =" PhrasesInTemplates "} {/ Tr}", 'File_sid' = & gt; $ fileSid);
thanks, intranspecter
using the following backlash ( \ ). So your return should look like:
Returns array ('error' = & gt; "{tr domain = \" PhrasesInTemplates \ "} You have already selected maximum images for this shirt ! {/ Tr} ", 'file_sid' = & gt; $ fileSid);
Comments
Post a Comment