Help with deleting from sql database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

dsjoes
Forum Commoner
Posts: 41
Joined: Thu May 20, 2010 3:15 pm

Re: Help with deleting from sql database

Post 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]
dsjoes
Forum Commoner
Posts: 41
Joined: Thu May 20, 2010 3:15 pm

Re: Help with deleting from sql database

Post by dsjoes »

anyone
Post Reply