<form>
몇년 : <input type=txet name=assa><br>
몇월 : <input type=txet name=assa1><br>
몇일 : <input type=txet name=assa2><p>
<input type=submit value='전송'>
</form>
몇년 : <input type=txet name=assa><br>
몇월 : <input type=txet name=assa1><br>
몇일 : <input type=txet name=assa2><p>
<input type=submit value='전송'>
</form>
<?
if($assa==1990){
echo " 중세시대 ";
}
?>
if($assa==1990){
echo " 중세시대 ";
}
?>
텍스트에 1990이라는글자 입력하고 전송을 누르면 중세시대라고 밑에 뜨게할려는데 안되는이유가 먼가요? ㅠㅠ
댓글 17개
13년 전
echo " 중세시대\n아" ; 하면 안되나요?
13년 전
안되네요 ㅠㅠ;;
13년 전
<?
if($assa==1990){
echo " 중세시대<div>현대시대";
}
?>
if($assa==1990){
echo " 중세시대<div>현대시대";
}
?>
13년 전
안되요 ;
13년 전
잘되는데요?
ko1.puru.me/zz/1.php 들어가봐요
ko1.puru.me/zz/1.php 들어가봐요
13년 전
아 호스팅이랑 개인웹서버 차이인가보네요 ;;ㅋㅋ
13년 전
아니죠
13년 전
php는 서버에서 실행됩니다
그후 html들이 사용자한테 넘어가지요
저런구조로는 불가능합니다[하나의 파일일경우]
자바스크립트로 짜셔야되요
그후 html들이 사용자한테 넘어가지요
저런구조로는 불가능합니다[하나의 파일일경우]
자바스크립트로 짜셔야되요
13년 전
ㅠㅠ 자바스크립트을 모릅니다유 ㅠㅠ;
13년 전
1.php
<form action="2.php" method="post">
몇년 : <input type=txet name=assa><br>
몇월 : <input type=txet name=assa1><br>
몇일 : <input type=txet name=assa2><p>
<input type=submit value='전송'>
</form>
2.php
<?
if($assa==1990){
echo " 중세시대<div>현대시대";
}
?>
해보세요
<form action="2.php" method="post">
몇년 : <input type=txet name=assa><br>
몇월 : <input type=txet name=assa1><br>
몇일 : <input type=txet name=assa2><p>
<input type=submit value='전송'>
</form>
2.php
<?
if($assa==1990){
echo " 중세시대<div>현대시대";
}
?>
해보세요
13년 전
1.php
<form action="2.php" method="post">
몇년 : <input type=txet name=assa><br>
몇월 : <input type=txet name=assa1><br>
몇일 : <input type=txet name=assa2><p>
<input type=submit value='전송'>
</form>
2.php
<?
if($_GET[assa]==1990){
echo " 중세시대<div>현대시대";
}
?>
<form action="2.php" method="post">
몇년 : <input type=txet name=assa><br>
몇월 : <input type=txet name=assa1><br>
몇일 : <input type=txet name=assa2><p>
<input type=submit value='전송'>
</form>
2.php
<?
if($_GET[assa]==1990){
echo " 중세시대<div>현대시대";
}
?>
13년 전
if($_GET[assa]==1990){ 하는 이유가 있나요?
13년 전
아 실수햇네요
if($_POST[assa]==1990){
if($_POST[assa]==1990){
13년 전
아 ㅎㅎㅎ
13년 전
register_global
13년 전
댓글 남겨주신분들 너무 감사합니다^^
13년 전
action을 self로 하시면 하나의 파일에서.. 변수가 전달이 되지 않나요?
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7930 | 9년 전 | 485 | ||
| 7929 | 9년 전 | 420 | ||
| 7928 | 9년 전 | 493 | ||
| 7927 | 9년 전 | 403 | ||
| 7926 | 9년 전 | 713 | ||
| 7925 | 9년 전 | 437 | ||
| 7924 | 9년 전 | 418 | ||
| 7923 | 9년 전 | 409 | ||
| 7922 | 9년 전 | 433 | ||
| 7921 | 9년 전 | 448 | ||
| 7920 | 9년 전 | 358 | ||
| 7919 | 9년 전 | 366 | ||
| 7918 | 9년 전 | 515 | ||
| 7917 | 9년 전 | 375 | ||
| 7916 | 9년 전 | 460 | ||
| 7915 | 9년 전 | 479 | ||
| 7914 | 9년 전 | 487 | ||
| 7913 | 9년 전 | 658 | ||
| 7912 | 9년 전 | 496 | ||
| 7911 | 9년 전 | 418 | ||
| 7910 | 9년 전 | 466 | ||
| 7909 | 9년 전 | 582 | ||
| 7908 | 9년 전 | 514 | ||
| 7907 | 9년 전 | 458 | ||
| 7906 | 9년 전 | 478 | ||
| 7905 | 9년 전 | 441 | ||
| 7904 | 9년 전 | 428 | ||
| 7903 | 9년 전 | 439 | ||
| 7902 | 10년 전 | 616 | ||
| 7901 |
|
10년 전 | 787 | |
| 7900 | 10년 전 | 672 | ||
| 7899 | 10년 전 | 460 | ||
| 7898 | 10년 전 | 455 | ||
| 7897 | 10년 전 | 414 | ||
| 7896 | 10년 전 | 430 | ||
| 7895 | 10년 전 | 549 | ||
| 7894 | 10년 전 | 456 | ||
| 7893 | 10년 전 | 430 | ||
| 7892 | 10년 전 | 472 | ||
| 7891 | 10년 전 | 827 | ||
| 7890 | 10년 전 | 1255 | ||
| 7889 | 10년 전 | 798 | ||
| 7888 |
limsy1987
|
10년 전 | 609 | |
| 7887 | 10년 전 | 650 | ||
| 7886 | 10년 전 | 532 | ||
| 7885 | 10년 전 | 501 | ||
| 7884 | 10년 전 | 496 | ||
| 7883 | 10년 전 | 502 | ||
| 7882 | 10년 전 | 557 | ||
| 7881 | 10년 전 | 537 | ||
| 7880 | 10년 전 | 654 | ||
| 7879 | 10년 전 | 544 | ||
| 7878 | 10년 전 | 1306 | ||
| 7877 | 10년 전 | 836 | ||
| 7876 | 10년 전 | 573 | ||
| 7875 | 10년 전 | 645 | ||
| 7874 |
|
10년 전 | 851 | |
| 7873 | 10년 전 | 579 | ||
| 7872 | 10년 전 | 735 | ||
| 7871 | 10년 전 | 553 | ||
| 7870 | 10년 전 | 671 | ||
| 7869 | 10년 전 | 488 | ||
| 7868 | 10년 전 | 529 | ||
| 7867 | 10년 전 | 534 | ||
| 7866 | 10년 전 | 591 | ||
| 7865 | 10년 전 | 534 | ||
| 7864 | 10년 전 | 589 | ||
| 7863 | 10년 전 | 586 | ||
| 7862 | 10년 전 | 558 | ||
| 7861 | 10년 전 | 727 | ||
| 7860 | 10년 전 | 706 | ||
| 7859 | 10년 전 | 473 | ||
| 7858 | 10년 전 | 780 | ||
| 7857 | 10년 전 | 1168 | ||
| 7856 | 10년 전 | 594 | ||
| 7855 | 10년 전 | 836 | ||
| 7854 | 10년 전 | 778 | ||
| 7853 | 10년 전 | 675 | ||
| 7852 | 10년 전 | 591 | ||
| 7851 | 10년 전 | 592 | ||
| 7850 | 10년 전 | 670 | ||
| 7849 | 10년 전 | 444 | ||
| 7848 | 10년 전 | 507 | ||
| 7847 | 10년 전 | 741 | ||
| 7846 | 10년 전 | 526 | ||
| 7845 | 10년 전 | 499 | ||
| 7844 | 10년 전 | 469 | ||
| 7843 | 10년 전 | 506 | ||
| 7842 | 10년 전 | 485 | ||
| 7841 | 10년 전 | 455 | ||
| 7840 | 10년 전 | 480 | ||
| 7839 | 10년 전 | 519 | ||
| 7838 | 10년 전 | 590 | ||
| 7837 | 10년 전 | 419 | ||
| 7836 | 10년 전 | 460 | ||
| 7835 | 10년 전 | 547 | ||
| 7834 |
|
10년 전 | 1248 | |
| 7833 | 10년 전 | 507 | ||
| 7832 | 10년 전 | 491 | ||
| 7831 | 10년 전 | 663 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기