Jump to content

[SOLVED] Using post value in a SQL statement


boneXXX

Recommended Posts

Thank you for the advise Haku. Actually I didn't think about that, but the way I am using it is safe because I get the $_POST value from a drop down menu so there is no way to inject code into the system. 

 

You should be careful with that though - putting the value into your database without checking it first is very dangerous. People can inject code into your database that does nasty things. You should never put post data directly into the database.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.