string concatenate function
In C and C++ theres a strcat() function that joins strings, php has a well working function that turns an array into a string with a separator. I made a simple function called str_join() that uses that function to turn an array into a string and print it to the screen. Thinking of adding the separator as an argument. Also shows how to use it in two examples, let me know how it works for you and use as you please but if you mod the cod e please share it with the community and I'll update the code as I make changes to it.
|All times are GMT +5.5. The time now is 02:09.|