◆PostgreSQLがなかったので追加。
ちなみに、このページから取得しました。
SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname = 'public'
SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname = 'public'
dcomcnfgと入力して、dcomcnfg.exeを実行。
$word = new COM( "Word.Application", NULL, CP_UTF8 ) or die( 'no word!?' ); $word->Visible = 0; $word->Documents->Open( 'word.doc' ); // show all bookmarks $num_bookmarks = $word->ActiveDocument->Bookmarks->Count; for( $i = 1; $i <= $num_bookmarks; $i ++ ) { try { $mark = $word->ActiveDocument->Bookmarks($i)->Name; $wdMark = $word->ActiveDocument->Bookmarks( $mark ); $range = $wdMark->Range; $range->Text = "#{$i}:$mark"; } catch( Exception $e ) {} } $word->Documents[1]->SaveAs( 'word_new.doc' );
javascript:( function() { var v; /* do it */ })()
javascript:(function() { /* do something */ var theForms = document.getElementsByTagName("input");var list = '';for(i=0;i<theForms.length;i++) list = list + ','+theForms[i].name;alert( list );})()
javascript:(function() { /* do something */ var theForms=document.getElementsByTagName("input");var list='';for(i=0;i<theForms.length;i++) theForms[i].value=theForms[i].name;})()開発していて、大量の入力フォームがある時に便利かなと思って作って見た。