テキストファイル書き出し

Option Explicit Sub createSimplePHP() Dim myFile As String Dim myFileNo As Integer Worksheets("Sheet1").Activate myFile = Worksheets("Sheet1").Cells(2, 2).Value & "\Sample.php" myFileNo = FreeFile 'PHPファイルの出力を宣言 #myFileNoは書き込…

VBA基本

Option Explicit Sub createStub() 'num変数の定義Dim num As IntegerDim a As IntegerDim b As IntegerDim c As IntegerDim d As IntegerDim e As IntegerDim f As Integer Dim myMsg As String 'On Error GoTo HandleErr '指定したセルの値を変数に代入す…

VBA参考サイト01

www.excel-wing.com okwave.jp d.hatena.ne.jp VBA基本(コメントブロック) エクセルVBAは2次元配列を使うと高速かつ便利 | ハウツーIT Office TANAKA - Excel VBA高速化テクニック[セルを配列に入れる] excel-ubara.com <結果これを出力したい?> array( "…

VBAサンプル02

'Option ExplicitSub test() Dim strTest1 As String '文字列を入れる変数を宣言Dim strTest2 As StringDim strTest3 As String strTest1 = Worksheets("table").Cells(2, 2).ValuestrTest2 = Worksheets("table").Cells(2, 3).ValuestrTest3 = Worksheets("…

VBAサンプル01

'Option ExplicitSub test() Dim strTest As String '文字列を入れる変数を宣言'Dim ws As Worksheet'Set ws = Worksheets("table") strTest = Worksheets("table").Cells(1, 2).ValueDebug.Print strTest 'strTestの中身をデバッグ用プリント End Sub

jQueryでサブウインドウを開く

php.o0o0.jp サブウインドウ開く

Dto…かどうかわからんがPHPでオブジェクトの配列化

Dto側privateにしていないがどうなのか? ----------------------------------------------------------- ■Sample.php -----------------------------------------------------------

URLを変化させずに、一瞬でページ内遷移:jQuery

<script type="text/javascript">$(function(){$('#doclick').click(function(e){//moveId = location.hash;moveId = "#gotoid";movePostion = $(moveId).offset().top;$('html,body').animate({ scrollTop: movePostion }, 0 );return false;});});</script>

これは便利かも

irohacross.net

routes.php

routes.php {id?}を使うときはオプション扱い 渡される側でデフォルト値を設定する必要あり、省略可能となる。

jQuery右クリック処理

右クリック処理を書ける。キーコードの取得をonclickで www.finefinefine.jp ----------------------------- <p id="buttonMenu" onClick="rightClick();">右クリック検知</p> ----------------------------- <script>function rightClick() { $("#buttonMenu").on('contextmenu', function(e) { alert(e.which); $(t…

XMLの中にある「%s」などの文字をPHPで操作する。

<result><tag>%s</tag></result>"; $str2 = sprintf($str, $xml); $string = new SimpleXMLElement($str2); echo "<pre>" . $string->asXML() . "</pre>"; return $string->asXML(); } echo test(); ?>

filter_levelmatch.xml

ソース

log4php

simple.php