Paste the whole code so we can see it.
The info about the mysql_* functions it true, there are 2 better mechanisms now available mysqli_ and PDO.
mysqli_* functions have been deprecated i.e. will sometime in the future be removed from the language.
You should really try to learn mysqli or PDO for this reason, but if your tutorial uses the old mysql_* function they should still work assuming you have copied them correctly, which I assum eyou have not.
mysqli and pdo are are both documented along with the whole PHP language syntax on the php website.
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-