Can’t use placeholders
<?php
$statmt_txt = "select * from vhs where type_code = ? order by title";
?>
Demo 7
“placeholders” are currently not supported, but you can do this instead.
<?php
$my_code = “ST1”;
$statmt_txt = "select * from vhs where type_code = ’ $my_code ' order by title";
?>
Invalid statement
valid statement
Previous slide
Next slide
Back to first slide
View graphic version