ok, i've made those changes.. and am whitescreened...

still not working..
see file:
Code:
<?php
$db_host =
$db_user =
$db_pwd =
$database =
$table =
if (!mysql_connect($db_host, $db_user, $db_pwd))
die("Can't connect to database");
if (!mysql_select_db($database))
die("Can't select database");
$t = mysql_real_escape_string($_POST['tval']);
$c = mysql_real_escape_string($_POST['cval']);
settype($c, 'float');
$sql = mysql_query("DELETE FROM {$table} WHERE `tag` = '$t' AND `cpm` = $c" );
if (!$sql) {
die(mysql_error());
}
else {
echo "Well.. They're gone.. for good..";
echo "<BR>";
echo "<a href='pyflightsearchresults.php'>Back to Results</a>";
}
echo "<a href="pyflightsearchresults.php">That's it. They're gone.. you can't get them back.. gone forever... click here to return to strikesearch results</a>";
mysql_free_result($result);
?>
I have placed vardump on the 2 variables.. and they show good to that point:
Quote:
|
float(9) string(8) "testing3"
|
in firebug i see the post values & 500 internal server error