Today I discovered that in PHP you can include and array value in a string without concatenation of any kind. You just have to use brackets. So instead of:
echo “Blablabla ” . $array[‘key’] . “ blablabla”;
You have:
echo “Blablabla {$array[‘key’]} blabla”;
You'd think I would have known that already. It will definitely make MySQL queries simpler, but concatenating just feels so much *cleaner* somehow.
I also learned how to properly sort multidimensional arrays, which is convenient, as I tend to be an array fiend.
Ahem. Anyway...
Subscribe to:
Post Comments (Atom)
3 comments:
umm... good... good for you... *pat on the head*
LOL!
and after two months, this is all you have for us?
*hugs*
Post a Comment