본문 바로가기

Programming/Php

[PHP] DB delete

$no = $_GET[no];

$id = $_GET[id];


$sql = "delete from 테이블명 where no=$no;" ;

mysql_query($sql) or die (mysql_error());

'Programming > Php' 카테고리의 다른 글

[PHP] include 선언  (0) 2014.05.15
[PHP] 세션 설정  (0) 2014.05.15
[PHP] DB update  (0) 2014.05.15
[PHP] DB insert  (0) 2014.05.15
[PHP] DB select  (0) 2014.05.15