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!
I'm executing a block of code and what I want to do is basically if the variable matches my check I want to delete the record and display a msg. So I run a delete query and then and echo statement.
The problem is the echo statement NEVER appears unless I comment out the sql call. The record gets deleted so I know its hitting this loop correctly but the echo NEVER works. crazy.
That is strange... I can't see, given that the $num_row3>0 case is being called, why the echo won't work.
Commenting out the DELETE query would cut out a syntax error in that line, but then it can't be a syntax error if the DELETE query does work and you'd be getting error messages - which you're not.