Correct PHP error after PHP upgrade "The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead"

Imekamilika Ilichapishwa Miaka 5 iliyopita Kulipwa wakati wa kujifungua
Imekamilika Kulipwa wakati wa kujifungua

I upgraded my php version on [login to view URL] from 5.2 to 5.6 and now i'm getting the following error:

Error message: Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in ...

I'm getting this same error on multiple/all my website pages.

I would like to have someone correct my code for one page and I'll implement the fix on my other pages, if possible.

I would also like the new compatibility to be added to be compatible with newer PHP versions up to the newest 7.1.

HTML JavaScript MySQL PHP

Kitambulisho cha Mradi: #18915414

Kuhusu mradi

18 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

Imetuzwa kwa:

iamsinghkrishna

i have much experience in php, mysql, html, css, web development, i can do this job asap in same day.

$10 USD kwa siku 1
(Maoni 43)
5.6

18 wafanyakazi huru wanazabuni wastani wa $23 kwa kazi hii

leopedia

Hello i will help you to fix right now we are here to happy to help let me know check our review we always gave 100% result to client can you provide me website link so i can check once.

$30 USD kwa siku 1
(Maoni 348)
8.6
amitpandeyposin

Hello sir we have 7 years experience in php and related tecnologies we have already made many websites in that technologies we can start your work now and we will finish your work asap

$25 USD kwa siku 1
(Maoni 146)
7.4
NadirBouchama

Hello there! how are you doing? let me explain you what happen in php 5.6 the mysql_connect was replaced with mysqli_connect and this one is not longer avaible on php 7.0 and abouve so what i'am suggest is you change t Zaidi

$30 USD kwa siku 1
(Maoni 78)
6.5
kubarski

Hello, Just recently had the same problem while upgrading my server from PHP 5.1 to PHP 7.0. Will be able to help you. Best regards, Vlad

$35 USD kwa siku 1
(Maoni 57)
6.4
atttakhan

hello, how are you? I completely understand all of your requirements and I can do this job on time and within your budget. I have worked on similar projects and I am confident to exceed your expectations. immediate Zaidi

$25 USD kwa siku 1
(Maoni 58)
5.6
blister47

Hi there, As the error message states, either Mysqli or PDO functions have to be implemented in newer PHP version. I can show you how to correct the code. Could you please clarify if your website is made in co Zaidi

$15 USD kwa siku 1
(Maoni 24)
5.1
maya261

Because you are using mysql_connect which is not available in the latest version of php you should consider using mysqli_connect. if you don't know about these things just send me a message.

$30 USD kwa siku 1
(Maoni 17)
4.9
shivam5th

Hi, You have to search and replace the mysql with mysqli using grep command. Pretty easy for me to fix this issue. I can do this in a couple of hours. I can start right away. Thanks Rajesh

$25 USD kwa siku 1
(Maoni 35)
4.8
rich00boy000

Hi. I always work to get trust from clients. Trust is more important than money for the future. So I work very hard and honestly. As super web expert, my skill is.... Html/css/Javascript/Jquery/AngularJS/ReactJS/V Zaidi

$20 USD kwa siku 1
(Maoni 3)
1.7
s4saim2016

Hi Sir, I am web developer and interested in your work.. I know how to solve this problem. I can code in PDO and will solve all the issues.. Kindly let me know the details.. Thanks

$15 USD kwa siku 1
(Maoni 1)
0.8
DataScientist12

Hi, I am a professional computer engineer and a post graduate in data science. I have made several websites and apps. I have come across this error that you are facing quite a few times recently and know exactly wha Zaidi

$10 USD kwa siku 1
(Maoni 0)
0.0
tiagolamelas

I'm computer engineer student and Im trying to get some money to get my course finished. Can you give me a choice? I know Php Html Css Javascript Mysql

$15 USD kwa siku 1
(Maoni 0)
0.0
CodingGolden

hi sir , i can do it in addition to check and optimize database, I will review all the existing functions and replace the old functions and add the latest. and i will use Mysqli and Review site protection

$25 USD kwa siku 2
(Maoni 0)
0.0