hi all good people in this forum.
i have a table called mc_blocks
in one of the rows called "LBData" is this" NewProducts:Search:Information:"
without ""
The code to delele the value is this :
<a href=processConfig.php?action=deleteblock&xdpLBData=".$checkL.":>Delete</a>
As an example : output of this will be
processConfig.php?action=deleteblock&xdpLBData=Information:
Inside of my processConfig.php i have this function
function deleteBlock()
{
$lb=($_GET['xdpLBData']);
// debuging pupose
//echo "$lb";
$sql = "DELETE FROM ".PREFIX."mc_blocks WHERE LBData='".$lb."'";
$result =&dbQuery($sql);
header('Location: index.php');
}
Why this doesnt want to delete value from $GET method?
row called "LBData"" NewProducts:Search:Information:"
Last value" Information:" should be removed
When i do echo right data is there.
Thank you,