+ 1
How can I select with variable that I have set in sql php ?
like select * from $tab when name="James " for example
2 ответов
+ 2
Its where not when
0
I'd recommend learning PDO:
http://wiki.hashphp.org/PDO_Tutorial_for_MySQL_Developers
You can do what you want to do, with that.