Find Jobs
Hire Freelancers

Newphilly.com/2015.php Correct PHP error after I upgraded PHP version "The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead"

$10-30 USD

Closed
Posted almost 6 years ago

$10-30 USD

Paid on delivery
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 /home4/boyessen/public_html/newphilly/php/[login to view URL] on line 22 and now i updated tp PHP 7.0 and receive this error: Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home4/boyessen/public_html/newphilly/[login to view URL] Stack trace: #0 {main} thrown in /home4/boyessen/public_html/newphilly/[login to view URL] on line 526 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 you explain what changes were made possible. I would also like the new compatibility to be compatible with newer PHP versions up to the newest 7.1.
Project ID: 16655094

About the project

12 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
12 freelancers are bidding on average $23 USD for this job
User Avatar
Hi I am ready to fix your mysql issue and assure 100% satisfaction guarantee. Have a look on my profile to see my past work and reviews. Looking forward to your fruitfully response. Regards Muhammad Alyas
$29 USD in 1 day
5.0 (201 reviews)
7.5
7.5
User Avatar
Hi, I read your project description and you are facing some problem with PHP mysql Version. So for that you have to update your mysql function in your config file. Also upgrade mysql function every where you used older version function. I have 7 years experience web developer expert in PHP, CodeIgniter, Bootstrap, CSS, HTML, API, JS, Ajax. Please review my profile for find suitable. If you find suitable I can help you to resolve your server issue and explain you to where you have to change the mysql code. Milestone $27 : Solve mysql server Server issue Please come in chat we can discuss. Looking to long term work with you. Thank you.
$27 USD in 1 day
5.0 (12 reviews)
6.5
6.5
User Avatar
PHP Scripts which I wrote on Freelancer.com: https://www.freelancer.com/projects/javascript/Google-app-Script-16324428/ https://www.freelancer.com/projects/php/Help-turn-Node-function-into/ https://www.freelancer.com/projects/php/Create-small-script-that-creates/ https://www.freelancer.com/projects/php/Consignment-Reports/
$19 USD in 1 day
4.9 (109 reviews)
6.2
6.2
User Avatar
Did similar work before, need discussion
$50 USD in 1 day
5.0 (32 reviews)
5.7
5.7
User Avatar
Hey - get in touch with me on the chat and i will provide you a more clever solution. You are using the old mysql_connect implementation in PHP, but i would recommend using a class that handles all that. It will be a LOT easier in the future to update your code (if needed).
$20 USD in 1 day
5.0 (28 reviews)
4.9
4.9
User Avatar
Hi, good day, I'd like to help you, you need to change mysql to mysqli but this changes a little the position of arguments, I can help you with one page y explain you what did I do.
$12 USD in 1 day
4.9 (26 reviews)
3.6
3.6
User Avatar
Hi, I am having 7+ years of experience in development of enterprise and e-commerce applications. There error you are getting is easy fix, as there are new things added in php 5.6 onwards, everything to be developed using obejct oriented style rather procedural methods which been deprecated and will be removed soon. So I got the necessary information what causing issues, will fix instantly less than 2 hours.
$11 USD in 1 day
4.9 (3 reviews)
3.3
3.3
User Avatar
Hello, As MYSQL is deprecated in PHP version 5.6 or 7.0, You will have to change your queries to MYSQLi. i is stands for improved version of MYSQL. This will protect your site from MYSQL injection. I can do this job for you. Let me know if you want me to do this job. Thanks, Sourav
$15 USD in 1 day
5.0 (4 reviews)
2.4
2.4
User Avatar
There is a slight correction in the syntax. Please let me do this. I can fix it quickly. I shall be taking 20 mins for me to complete this
$25 USD in 1 day
3.4 (1 review)
1.0
1.0
User Avatar
MY HOSTING PROVIDER HAS LATEST 7.2 PHP VERSION AND HENCE CAN FIX YOUR ISSUE IN LESS TIME With an overall experience of 12 years in creation and development of digital properties and online marketing activities, all my solutions are process based. With a customized solution that meets business objectives, my solid understanding on the basic principles of marketing enables me to give you a competitive edge. I believe in the following: Solutions that ascertain growth: This is more than just a slogan. I promise to embody my commitment in developing solutions with results. Your Digital Collaborator: I work with you. Understanding your business aspects, I strive to produce interactive campaigns. I offer a full spectrum of digital services with end-to-end solutions that achieve your objectives. Being Meticulous: I pay attention to your requirements and needs and yet never lose sight of the big picture. Delivering outstanding results: Irrespective of the deliverable, I diligently strive to improve the brand’s demand, build trust, generate revenue and create brand loyalty for your customers.
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
A proposal has not yet been provided
$15 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Cumbola, United States
5.0
4
Payment method verified
Member since Jun 15, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.