Tag Archives: PHP

JavaScript version of var_dump

[et_pb_section admin_label=”section”][et_pb_row admin_label=”row”][et_pb_column type=”4_4″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] <script> function dump(obj) { var out = ”; for (var i in obj) { out += i + “: ” + obj[i] + “\n”; } alert(out); } </script> // or, … Continue reading

Posted in coding | Tagged , , | Comments Off on JavaScript version of var_dump

Unicode and Character Sets plus MySQL Latin1 to UTF-8 Conversion

I knew most of this… but alas, not all of it… BTW, here’s a relevant ThinkGeek.com present a friend gave me: I found this interesting article on How To Change An Early WPMU Database from latin1 to utf8 Encoding, which … Continue reading

Posted in coding | Tagged , , , , , , , | Comments Off on Unicode and Character Sets plus MySQL Latin1 to UTF-8 Conversion