Possible Duplicate:
PHP: “Notice: Undefined variable” and “Notice: Undefined index”정의되지 않은 인덱스는
내가 PHP를 배우고 난 양식 데이터를 제출 포스트 방법을 사용하고 난 그 두 가지 오류 얻을 이유를 알 수 없습니다
Notice: Undefined index: search_for in \xampp\htdocs\samir\indexes.php on line 5
Notice: Undefined index: replace_with in \xampp\htdocs\samir\indexes.php on line 6
if(isset($_POST['user_input']) && isset($_POST['search_for']) && isset($_POST['replace_with'])
&& !empty($_POST['user_input']) && !empty($_POST['search_for']) && !empty($_POST['replace_with']))
echo $user_input = $_POST['user_input'];
echo $search_for = $_POST['search_for'];
echo $replace_with = $_POST['replace_with'];
일부 코드를 어쩌면? –
코드를 보여 주시겠습니까? –
우리는 당신의 코드를 볼 필요가있다 !!! – simonlchilds