I found out how exectly to connect to an mssql database or a view off of the mssql database. When connecting to a view you must place in all the column names that you are connecting too. If you do not do this it will select or query all no matter if you are searching for a specific name or whatever. After you do this u can connect to the view instead of table by just replacing the name of the table in your code to the name of the view. If you want to still connect to the table but replace the name with a name that you like. Just use the AS command between the column name of the table to the name u like.
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 ...