关于news数组对象缺失的问题请教
二哈先生,请教一下:
昨天晚上试了下,所有涉及到news对象的引用都有问题?
<input type="text" name="keyword" value="<?php echo htmlentities($news['keyword']); ?>" placeholder="请输入关键词" autocomplete="off" class="layui-input">
<input type="text" name="title" value="<?php echo htmlentities($news['title']); ?>" placeholder="请输入标题" autocomplete="off" class="layui-input">
<?php echo hook('Upload',['type'=>'image','name'=>'picurl','material'=>true,'value'=>$news['url']]); ?>
没怎么用用过php,配的是php 7.4;不知是语法上的问题还是其他的问题?
昨天晚上试了下,所有涉及到news对象的引用都有问题?
<input type="text" name="keyword" value="<?php echo htmlentities($news['keyword']); ?>" placeholder="请输入关键词" autocomplete="off" class="layui-input">
<input type="text" name="title" value="<?php echo htmlentities($news['title']); ?>" placeholder="请输入标题" autocomplete="off" class="layui-input">
<?php echo hook('Upload',['type'=>'image','name'=>'picurl','material'=>true,'value'=>$news['url']]); ?>
没怎么用用过php,配的是php 7.4;不知是语法上的问题还是其他的问题?
没有找到相关结果
已邀请:
1 个回复
geeson
赞同来自: Leo