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!
Hi guys, i have a php script that seems to be working fine when i insert normal values into line 7, 8, 10, 17 however, when i try to use $_REQUEST then nothing happens?
Yes. You're using _REQUEST. Don't. It depends on the variable input order in PHP's configuration, therefore you can't trust it to be the same value between different configurations. Using _GET and _POST instead.
Also, a bigger problem, you're not escaping your input data. Your code is open to an SQL inject attack.