• 主页

php

Delete records from databse

<?
$query
= "DELETE FROM tblName where id='$id'";mysql_query($query, $db);
?>

Email This BlogThis! Share to X Share to Facebook
Saturday, January 22, 2011

Blogger templates

Blogger news

Blogroll

Archives

  • ►  2013 (219)
    • ►  December (26)
    • ►  November (19)
    • ►  October (23)
    • ►  September (16)
    • ►  August (13)
    • ►  July (25)
    • ►  June (18)
    • ►  May (18)
    • ►  April (8)
    • ►  March (19)
    • ►  February (22)
    • ►  January (12)
  • ►  2012 (231)
    • ►  December (19)
    • ►  November (21)
    • ►  October (17)
    • ►  September (13)
    • ►  August (17)
    • ►  July (18)
    • ►  June (20)
    • ►  May (21)
    • ►  April (22)
    • ►  March (26)
    • ►  February (19)
    • ►  January (18)
  • ▼  2011 (212)
    • ►  December (22)
    • ►  November (18)
    • ►  October (10)
    • ►  September (20)
    • ►  August (17)
    • ►  July (22)
    • ►  June (23)
    • ►  May (16)
    • ►  April (11)
    • ►  March (15)
    • ►  February (21)
    • ▼  January (17)
      • DateDiff
      • All About PHP array
      • Create Shopping Carts using PHP and Dreamweaver
      • What is PHP
      • multi dimensional arrays in php
      • $_SESSION or session displays in php
      • Delete records from databse
      • Google gadget Ads
      • get browser data of visitor in php
      • No title
      • Understanding Http protocol
      • Interview Questions
      • running selinium test case using PHP
      • Control structures in php: switch
      • how to hack myspace passwords
      • Estructuras de Control en PHP: elseif
      • Using if condition in order by clause for mysql