Fatal error: Uncaught Error:
Posted by: georgefernandez (37.211.214.---)
Date: October 22, 2016 12:22PM

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\wamp64\www\Registration\registration.php

Options: ReplyQuote
Re: Fatal error: Uncaught Error:
Posted by: Otomatic (Moderator)
Date: October 22, 2016 02:49PM

Hi,

Please: READ BEFORE YOU ASK A QUESTION

Note : mysql does not exist with PHP 7.0.x. Use mysqli.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Fatal error: Uncaught Error:
Posted by: RiggsFolly (Moderator)
Date: October 22, 2016 04:47PM

The MYSQL_* database extension has been deprecated for years and is gone for ever in PHP7.
I assume you are using PHP7!

If you are just learning PHP, spend your energies learning the `PDO` or `mysqli` database extensions.
[Start here](http://php.net/manual/en/book.pdo.php)

---------------------------------------------------------------------------------------------
(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 -- phpMyAdmin
Get 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-

Options: ReplyQuote


Sorry, only registered users may post in this forum.