Usually, In my wordpress website, when I modify template page file, it is done by only add global $wpdb for databse operation without including wp-config file.
Now, I create my own php file in public_html folder for database operation. For this to work, I should include wp-config.php file.
My question is should I add global $wpdb if I have already include wp-config.php file?
Thx