<?
$connect = mysql_connect("localhost","john","1");
mysql_select_db("JohnDB",$connect);
$query = "insert into Member(userid,userage) values('hong',30)";
mysql_query($query,$connect);
mysql_close($connect);
$connect = mysql_connect("localhost","john","1");
mysql_select_db("JohnDB",$connect);
$query = "insert into Member(userid,userage) values('hong',30)";
mysql_query($query,$connect);
mysql_close($connect);
?>
했는데 도스창에서 select * from Member;
해보니 값이 그대롭니다;;;
그냥 도스창에 insert into Member(userid,userage) values('hong',30)
이렇게해야 되구요 ㅠㅠ
왜이러는거죠
댓글 2개
13년 전
쿼리로만 봐서는 모르겠네요..
$result = mysql_query('...');
if (!$result) {
die('Error: ' . mysql_error());
}
이런식으로 오류를 프린트 해보세요. ^^;
$result = mysql_query('...');
if (!$result) {
die('Error: ' . mysql_error());
}
이런식으로 오류를 프린트 해보세요. ^^;
13년 전
아파치버리고 오토셋으로 하니되더군요 ㅋ
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4430 | 13년 전 | 825 | ||
| 4429 | 13년 전 | 1150 | ||
| 4428 | 13년 전 | 1940 | ||
| 4427 | 13년 전 | 1059 | ||
| 4426 | 13년 전 | 521 | ||
| 4425 | 13년 전 | 9882 | ||
| 4424 |
|
13년 전 | 847 | |
| 4423 |
|
13년 전 | 718 | |
| 4422 |
aequum
|
13년 전 | 1290 | |
| 4421 | 13년 전 | 2414 | ||
| 4420 | 13년 전 | 1204 | ||
| 4419 | 13년 전 | 889 | ||
| 4418 |
한번잘해보자
|
13년 전 | 671 | |
| 4417 | 13년 전 | 1579 | ||
| 4416 | 13년 전 | 871 | ||
| 4415 | 13년 전 | 2251 | ||
| 4414 | 13년 전 | 680 | ||
| 4413 | 13년 전 | 677 | ||
| 4412 | 13년 전 | 819 | ||
| 4411 | 13년 전 | 1438 | ||
| 4410 |
|
13년 전 | 717 | |
| 4409 | 13년 전 | 2165 | ||
| 4408 |
visualp
|
13년 전 | 533 | |
| 4407 |
visualp
|
13년 전 | 3087 | |
| 4406 |
visualp
|
13년 전 | 3253 | |
| 4405 |
visualp
|
13년 전 | 3152 | |
| 4404 |
visualp
|
13년 전 | 2978 | |
| 4403 |
|
13년 전 | 667 | |
| 4402 |
gender
|
13년 전 | 622 | |
| 4401 | 13년 전 | 1113 | ||
| 4400 |
aequum
|
13년 전 | 1380 | |
| 4399 | 13년 전 | 586 | ||
| 4398 | 13년 전 | 670 | ||
| 4397 |
|
13년 전 | 581 | |
| 4396 |
aequum
|
13년 전 | 4662 | |
| 4395 |
|
13년 전 | 561 | |
| 4394 |
aequum
|
13년 전 | 4932 | |
| 4393 |
|
13년 전 | 1268 | |
| 4392 | 13년 전 | 1059 | ||
| 4391 |
mirrV
|
13년 전 | 541 | |
| 4390 |
파워웹프로
|
13년 전 | 709 | |
| 4389 | 13년 전 | 1228 | ||
| 4388 |
Coding
|
13년 전 | 707 | |
| 4387 |
aequum
|
13년 전 | 1365 | |
| 4386 | 13년 전 | 870 | ||
| 4385 | 13년 전 | 722 | ||
| 4384 | 13년 전 | 786 | ||
| 4383 | 13년 전 | 2899 | ||
| 4382 | 13년 전 | 610 | ||
| 4381 | 13년 전 | 1186 | ||
| 4380 | 13년 전 | 812 | ||
| 4379 |
|
13년 전 | 749 | |
| 4378 | 13년 전 | 663 | ||
| 4377 | 13년 전 | 3300 | ||
| 4376 |
aequum
|
13년 전 | 1217 | |
| 4375 |
클로로다인
|
13년 전 | 649 | |
| 4374 |
DDFACTORY
|
13년 전 | 719 | |
| 4373 |
까탈스런ET
|
13년 전 | 705 | |
| 4372 | 13년 전 | 803 | ||
| 4371 | 13년 전 | 566 | ||
| 4370 |
|
13년 전 | 644 | |
| 4369 |
프리프리닷
|
13년 전 | 1302 | |
| 4368 | 13년 전 | 3171 | ||
| 4367 |
soing
|
13년 전 | 1580 | |
| 4366 |
|
13년 전 | 684 | |
| 4365 |
|
13년 전 | 622 | |
| 4364 |
|
13년 전 | 757 | |
| 4363 |
|
13년 전 | 622 | |
| 4362 |
|
13년 전 | 727 | |
| 4361 |
|
13년 전 | 842 | |
| 4360 |
|
13년 전 | 650 | |
| 4359 |
|
13년 전 | 3125 | |
| 4358 |
|
13년 전 | 3039 | |
| 4357 | 13년 전 | 841 | ||
| 4356 | 13년 전 | 1341 | ||
| 4355 | 13년 전 | 968 | ||
| 4354 | 13년 전 | 815 | ||
| 4353 | 13년 전 | 3374 | ||
| 4352 | 13년 전 | 2376 | ||
| 4351 | 13년 전 | 1966 | ||
| 4350 |
|
13년 전 | 1883 | |
| 4349 | 13년 전 | 657 | ||
| 4348 |
aequum
|
13년 전 | 1419 | |
| 4347 | 13년 전 | 663 | ||
| 4346 |
|
13년 전 | 566 | |
| 4345 | 13년 전 | 598 | ||
| 4344 |
aequum
|
13년 전 | 1004 | |
| 4343 |
|
13년 전 | 1040 | |
| 4342 |
aequum
|
13년 전 | 1638 | |
| 4341 | 13년 전 | 808 | ||
| 4340 |
2번호랑이
|
13년 전 | 1007 | |
| 4339 |
|
13년 전 | 1169 | |
| 4338 | 13년 전 | 1167 | ||
| 4337 | 13년 전 | 519 | ||
| 4336 |
aequum
|
13년 전 | 1710 | |
| 4335 | 13년 전 | 891 | ||
| 4334 | 13년 전 | 1188 | ||
| 4333 |
Sturmvogel
|
13년 전 | 963 | |
| 4332 |
aequum
|
13년 전 | 1283 | |
| 4331 |
aequum
|
13년 전 | 1401 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기