" symbol not be used in a php script for database connection? if it cant be used, what is the alternative? - Full Stack User" />

"should the “->” symbol not be used in a php script for database connection? if it cant be used, what is the alternative?" Code Answer

4

php did not process your script at all, so that <?php ... -> was interpreted as a html tag. look at the html source code in your browser.

is the script saved as .php? is php installed on your server?

By Makky on September 24 2022

Answers related to “should the “->” symbol not be used in a php script for database connection? if it cant be used, what is the alternative?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.