이 명령문이 무슨뜻인가요??? 정보
이 명령문이 무슨뜻인가요???본문
1. idx='".$data->sheets[0]['cells'][$i][1]."'
2. time = '".addslashes($data->sheets[0]['cells'][$i][6])."'
3. team1 = '".str_replace(' ', '', $data->sheets[0]['cells'][$i][8])."'
db에 넣는 명령문인데.. 무슨 뜻인가요??
2. time = '".addslashes($data->sheets[0]['cells'][$i][6])."'
3. team1 = '".str_replace(' ', '', $data->sheets[0]['cells'][$i][8])."'
db에 넣는 명령문인데.. 무슨 뜻인가요??
댓글 전체
1번은 그냥 값을 넣는것
2번은 http://kr1.php.net/manual/kr/function.addslashes.php
3번은 http://kr1.php.net/manual/en/function.str-replace.php
여기 보시면될것같네요
2번은 http://kr1.php.net/manual/kr/function.addslashes.php
3번은 http://kr1.php.net/manual/en/function.str-replace.php
여기 보시면될것같네요