$ary_tmp=Array ( [access_date] => 2017/11/10 [classification] => 2 [show_date] => 2017/11/10 [my_num] => 2 )


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

$_SESSION[request]*********
=Array ( [access_date] => 2017/11/10 [classification] => 2 [show_date] => 2017/11/10 06:00 [my_num] => 2 [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]])
=2


$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/11/10',classification = 2,show_date ='2017/11/10 06:00',my_num = 2,access_num = access_num + 1 ,last_update = current_timestamp where access_date = '2017/11/10' and classification = 2 and show_date = '2017/11/10 06:00' and my_num = 2
sql=update ranking set access_date ='2017/11/10',classification = 2,show_date ='2017/11/10 06:00',my_num = 2,access_num = access_num + 1 ,last_update = current_timestamp where access_date = '2017/11/10' and classification = 2 and show_date = '2017/11/10 06:00' and my_num = 2

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


$max_id=1265


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