Jump to content

BAV

New Members
  • Posts

    3
  • Joined

  • Last visited

BAV's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you. This gives me a direction I can take and experiment a little. I am sure others have asked this same question out of concern of creating conflicting installations of php in different folders. Many thanks.
  2. Hi. Thanks for any response in advance. I am using: 1. WP on my localhost setup (using Flywheel free Local) which contains its own database .... 2. XAMPP , installed in my local XAMPP folder, which contains its own php and Apache versions ... My question what is considered to be the correct php install configurations when I want to use them both? (Ex: create and run WP routines as well as for non-WP purposes.) Thx BAV I apologize if my post is off topic from "Coding" but I was reluctant to post in any other forum room.
  3. 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"); ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.