Parameterized commands in javascript or php

72 views Asked by At

Is it possible to have parameterized commands or prepared statements in javascript or php. I see it is possible in java and in database queries? Thanks!

1

There are 1 answers

2
Your Common Sense On

Speaking of PHP - yes. See PDO tag wiki for the example

Speaking of JS, you have to understand that it is impossible with client-side javascript, but with some server-side version it is quite possible too.