Page 2 of 2

Re: Help with deleting from sql database

Posted: Wed Jun 16, 2010 10:10 am
by dsjoes
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]

Re: Help with deleting from sql database

Posted: Tue Jun 22, 2010 1:06 pm
by dsjoes
anyone