php – delete title from sql database

//Written by David Kull 07042008
require_once(“config.php”); //php file the contains host, user, pwd, table, database

$one =tiny_mce_marker


$linkID = mysql_connect($host,$user,$pwd) or die(“DK, I Could not connect to {$host}.”);
mysql_select_db($database, $linkID) or die(“DK, I Could not find database : {$database}.”);

echo (“Deleting {$one}.”);
$query = “DELETE FROM {$table} WHERE Title = ‘{$one}'”;
$resultID = mysql_query($query, $linkID) or die(“Data not found. {$table} {$title} “);

Tags: , ,

Leave a Reply

You must be logged in to post a comment.

My Latest Video
Weather forecast in San Bernardino
My Photos on Pond 5
Royalty-Free Stock Video at Pond5
Speedtest 2014 B Mini requires at least version 8 of Flash. Please update your client.
Speed Test
Recent Posts
    Your IP Info