Re: Help with deleting from sql database
Posted: Wed Jun 16, 2010 10:10 am
mikosiko wrote:try this changes to debug your problem (you are wasting your time bumping your post instead of testing alternatives) :
Code: Select all
echo "This is the SQL : " . $sql; // to check if your sql sentence is ok $result = mysql_query($sql) or die(mysql_error()); // to control errors var_dump($result);
i got the following message
[text]This is the SQL : SELECT * FROM Targetresource(3) of type (mysql result)[/text]