Hi. It is great to find php support and I thank you in advance and even for taking the time to help me.
I have been watching numerous CRUD tutorials and videos and want to duplicate that setup. Actually,I want to increase the usual 2-3 column sample demos to maybe another dozen or so columns.
The problem seems to be I can never connect successfully and I strongly suspect it is due to a pathing error or directory level when placing my php connection code.
All of the online guru tutorials seem to be developed on that tutor's own localhost. I am not working on a local host of my own on my development computer.
Instead I use a shared server at a hosting company. Their path is different than the tutorial developer. I don't seem to be getting this right and have failed everytime. Using phpMyAdmin is the only way I can work with the database. No problems. But, with every senario I try, using the Elementor Pro Form, the form data is never inserted into the MySQL
" bruce_ " preceeds my database name and table in the c-panel and the host has told me it must be included as a part of my php argument to define the path for connection.
Are there some special rules for connecting to a shared server vs. developing on a your own localhost that I need to follow?
Thx
BAV
<?php
$conn = new mysqli("localhost", "tony", "thisismypassword", "php_demo");
?>