$ary_tmp=Array ( [access_date] => 2017/12/29 [classification] => 2 [show_date] => 2017/12/29 [my_num] => 1 )


$ary_ret+++++++++++=Array ( [0] => [1] => IDがないので編集できません。
[2] => add )

$_SESSION[request]*********
=Array ( [access_date] => 2017/12/29 [classification] => 2 [show_date] => 2017/12/29 06:00 [my_num] => 1 [access_num] => access_num + 1 )


$ary_tmp[$i][name]]=id


$ary_tmp[$i][name]]=access_date


$ary_tmp[$i][name]]=access_date


$ary_tmp[$i][name]]=classification


$ary_tmp[$i][name]]=classification

$_SESSION[request][$ary_tmp[$i][name]])
=2


$ary_tmp[$i][name]]=show_date


$ary_tmp[$i][name]]=show_date


$ary_tmp[$i][name]]=my_num


$ary_tmp[$i][name]]=my_num

$_SESSION[request][$ary_tmp[$i][name]])
=1


$ary_tmp[$i][name]]=access_num


$ary_tmp[$i][name]]=access_num

$_SESSION[request][$ary_tmp[$i][name]])
=access_num + 1

$sql
=update ranking set access_date ='2017/12/29',classification = 2,show_date ='2017/12/29 06:00',my_num = 1,access_num = access_num + 1 ,last_update = current_timestamp where access_date = '2017/12/29' and classification = 2 and show_date = '2017/12/29 06:00' and my_num = 1
sql=update ranking set access_date ='2017/12/29',classification = 2,show_date ='2017/12/29 06:00',my_num = 1,access_num = access_num + 1 ,last_update = current_timestamp where access_date = '2017/12/29' and classification = 2 and show_date = '2017/12/29 06:00' and my_num = 1

$count=0
sql=select max( id) as max_id from ranking


$max_id=1474


$_SESSION[request][$ary_tmp[$i][name]]=
sql= insert into ranking (id,access_date,classification,show_date,my_num,access_num ,last_update) VALUES (1475,'2017/12/29',2,'2017/12/29 06:00',1,1 ,current_timestamp )
sql=select data from session where id='5f657c206dae042255f0ee2366e51821'
sql=insert into session (id, data, stamp) values ('5f657c206dae042255f0ee2366e51821','last_time|i:1516444976;request|a:5:{s:11:"access_date";s:10:"2017/12/29";s:14:"classification";s:1:"2";s:9:"show_date";s:16:"2017/12/29 06:00";s:6:"my_num";s:1:"1";s:10:"access_num";i:1;}', 'now()')