本文介绍了测试两个字段是否包含数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图测试是否同时输入了两个字段 我尝试了很多组合但是无法得到它。我最后的努力是 if(isset($ _ POST [''Link'']&& isset($ _ POST [''uploadedfile''])){ die(''你不能选择同时上传链接和文件。''); } else { STUFF HERE; } 但仍然无法让它工作 帮助赞赏 Ian
Im trying to test if two fields have been entered at the same time I have tried many combinations but cant get it. My last effort was if(isset($_POST[''Link''] && isset($_POST[''uploadedfile''])){ die(''You can\''t select to upload a link and a file at the same time.''); } else { STUFF HERE; } but still cant get it to work Help appreciated Ian
推荐答案_POST [''Link'' ]&& isset( _POST[''Link''] && isset(
_POST [''uploadedfile''])){ die(''你不能选择同时上传链接和文件。''); } 其他 { STUFF在这里; } 但是仍然无法让它工作 帮助赞赏 Ian _POST[''uploadedfile''])){ die(''You can\''t select to upload a link and a file at the same time.''); } else { STUFF HERE; } but still cant get it to work Help appreciated Ian
>我试图测试是否同时输入了两个字段 >Im trying to test if two fields have been entered at the same time 我有trie很多组合,但不能得到它。我最后的努力是 if(isset( I have tried many combinations but cant get it. My last effort was if(isset(
更多推荐
测试两个字段是否包含数据
发布评论