This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function open_comment (className) { | |
var norb = document.getElementById(className).style.display; | |
if (norb == 'none') { | |
document.getElementById(className).style.display = 'block'; | |
} else { | |
document.getElementById(className).style.display = 'none'; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sqlite3' | |
require 'cgi' | |
cgi = CGI.new | |
#フォームから受け取った値を変数に入れる | |
vname = cgi["name"] | |
vtitle = cgi["title"] | |
vmessage = cgi["message"] | |
#URLクエリのページ値 |