Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

In WordPress, should I escape input variable to external database besides the WP DB?

$
0
0

I'm currently working on a WordPress website project and I am hoping someone can help me out on this.

In the registration page, the data entered is stored into the WordPress database. I've also build a connection to store those data into an external database as well. So basically, If a visitor registers on the site, their data info is stored in the WP and external DB.

My question is since the external DB relies on checking to see if the submit button has been pressed, do those data input values need to be escaped to prevent sql injection into the external DB since the data submitted to WordPress has already been sql escaped?

Thanks for helping.


Viewing all articles
Browse latest Browse all 13200

Trending Articles