) Error: Call to undefined function mysql_select_db() in C:\wamp64\www\Cdb\index.php on line 16
Posted by: Buzze (---.85-177-91.adsl-dyn.isp.belgacom.be)
Date: January 24, 2022 10:13AM

Hey,i have a problem with a warning, can anybody see this problem :


<?PHP
/**
*
* @package Cdb 1.0
* @version date: 2009-01-24
* @copyright (c) 2009 de Wielersite
* @website [www.cdb.dewielersite.net]
* @license [opensource.org] GNU Public License
*



Edited 1 time(s). Last edit at 01/24/2022 11:23AM by Otomatic.

Options: ReplyQuote
Re: ) Error: Call to undefined function mysql_select_db() in C:\wamp64\www\Cdb\index.php on line 16
Posted by: Otomatic (Moderator)
Date: January 24, 2022 11:27AM

Hi,

This forum is not intended to correct users' PHP scripts or SQL queries.

> Call to undefined function mysql_select_db()

The php extension mysql was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used.

------------------------------------------------------------------------------------------------------------
Wampserver 3.2.9 32 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38 - MariaDB 10.5.13/10.6.5
Wampserver 3.2.9 64 bit - Apache 2.4.53 - PHP 8.1.5…5.6.40 - MySQL 5.7.38/8.0.29 - MariaDB 10.5.15/10.7.3
PhPMyadmin 5.1.3 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.