Please see this question : https://codereview.stackexchange.com/q/36987/14625
I invited the 2 users to comment on this thread.
From my perspective, Code Review is there to Review working code, that code is not working.
Please see this question : https://codereview.stackexchange.com/q/36987/14625
I invited the 2 users to comment on this thread.
From my perspective, Code Review is there to Review working code, that code is not working.
Bobby's comment to the question is:
@tomdemuyt: Please no! This question does belong on SO as much as it does belong on CR. It would just be closed on SO. – Bobby 49 mins ago
The poster clearly says (emphasis mine) "I want that it should reload or stay on same page with reload to same id." This means that there is a problem to be solved, the code does not work as it is intended to, one of the things in the Don't ask list for Code Review is:
How to add a feature to or solve a problem with your code
Just because a question would be closed for "... must demonstrate a minimal understanding of the problem being solved ..." on Stack Overflow doesn't mean that we should accept them here. There is a reason for why it would be closed on Stack Overflow. We might be friendlier here than the ones on SO, but off-topic is still off-topic.
There is plenty to criticize about the code: the use of HTTP GET for a non-idempotent delete operation, the use of the deprecated mysql_query()
suite of functions, the careless use of string interpolation that could lead to SQL injection and HTML injection.
Unfortunately, the question is poorly formulated. I can't figure out exactly what the situation is, but it's clear that the poster is asking for a problem to be solved. There may be other fora for questions like this, but Code Review isn't it.