2007-07-18から1日間の記事一覧

Spreadsheet_Excel_Writer

Excel出力機能を追加しようとしてたところ、これを発見。 ベータ版なので pear install -f Spreadsheet_Excel_Writer でインストール!

popupに動的テキストを表示する方法。

<span {popup text="$app.memo[cnt]" trigger="onmouseover" caption="kkt" fgcolor="#FFffDD" bgcolor="#FF0000"}>このような書き方するとうまく行かないので、 一度変数の中に投げておく必要があるようです。 {if $app.memo[cnt] != ""} {assign var="w_memo" value=$app.memo[cnt]} {else} {assign var="w_memo" value="---"} {/if} </span>

結局プログラムの組み方が悪くて set names ujis が実行されてなかっただけだった。 丸一日損した(;_;

文字化けには

サーバーが変わるたびに泣かされる。

今日も文字化け対応

http://puchiko.lowtech.ne.jp/?itemid=349&catid=27SHOW VARIABLES LIKE 'char%'; で調べてみると Variable_name Value character_set_client utf8 character_set_connection utf8 character_set_database sjis character_set_filesystem binary character_…