Jump to content

johnp

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. I have followed the tutorial on PHP /Mysql at https://linuxhint.com/php-mysql-tutorial/ but when I create and run the dbconnection.php, and readdata.php scripts at the end of the tutorial the dbconnection script appears to work but the readdata script gives no output. If I change the database name in dbconnection.php to a non-existent database and run the script there is no error message and in fact the script returns the same "Connection is completed successfully" message as it does with the correct database name. Clearly there is some error in the setup of php 7.4, I presume. I have spent several days wrestling with getting php7.4 to connect successfully to mariadb and would appreciate any advice.
×
×
  • Create New...