I'm using this piece of code to get the number of search results. However it says- Incorrect syntax near ')' (the very last ')' )
SELECT COUNT(*) FROM
(SELECT ID, ProductDescription FROM Products WHERE ProductDescription LIKE '%tech%')
The inner select works fine and gives correct results, so I don't understand what's the problem... I won't be surprised if it's something stupid, but I've tried lots of things but with no success..
So I hope you guys can give some hints.
Hi, I am a newbie in developing a website. i have tried to connect using mysqli conncetion
Here is my simple code.
// db.php code
//$con = mysqli_connect("localhost","root","","bakery"); ...
If you're in one of those predicaments where cls.__private attributes just aren't enough since they can easily be accessed through inst._cls__private, and you need something a little more secure, here's ...