Parameterized commands in javascript or php

103 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 best solutions below

2
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.