Why can't I save the image path Public/imsages/logo.jpg?
学容错
学容错 2018-10-29 18:03:26
0
2
902

Table<input type="text" onchange="updateSort('config','id','{$shop_configid['shop_info_store_logo']}','value',this)" value="{$shop_config ['shop_info_store_logo']}" class="form-control" />

Save code

if($data['act'] == 'edit'){

$r = D('config')->where('id='.$data['id'])->save($data);

}

Just save other characters, such as Chinese, letters, with/or. But not

学容错
学容错

reply all(2)
胤彬-

slashes are escaped

然

Check the field types of your table

  • reply There should be no problem with the fields. These contents can be stored directly in the database.
    学容错 author 2018-10-30 18:23:26
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!