PHP 5.5.19 connection to MySQL 5.6 database (old php code stopped working)


My server got upgraded. These were the improvements.

mySQL from 5.1.73 to 5.6, Apache from 2.2 to 2.4 and PHP from 5 to 5.5.19.

I have a script that uses simple MYSQL connections. Part of the code was:

include_once( "[url removed, login to view]" );

$sql = "SELECT * FROM galerias WHERE id = 56";

$query = mysql_query($sql);

$row = mysql_fetch_array($query);

While [url removed, login to view] included lines like

$conexion = mysql_connect($host,$user,$pass);

$db = mysql_select_db($bd);

$base_dir = $_SERVER['DOCUMENT_ROOT'].'/';

One of my main websites stopped working. I need someone to check 2-4 files to make the correct connections with PHP 5.5.19 connection to MySQL 5.6 database

I will consider people PM me.

Habilidades: MySQL, PHP

Ver mais: improvements code, php 5, mysql 5.1, php connection, connection mysql, database connection mysql, code create report mysql database php, mysql_connect, mysql query connection, stopped working, simple database websites, reports mysql database php code, mysql database php code, sql connection, sql server connection, database mysql php, improvements database, pm script database, php sql mysql, php script query mysql database, code bulk upload excel file mysql database php, working mysql websites, php select query, row code, upload csv file mysql database php code

Acerca do Empregador:
( 10 comentários ) Guayaquil, Ecuador

ID do Projeto: #6840669

Premiar a:


Hello, an FTP access, and access to phpMyAdmin is required to check the issue please. Thank you ============================ ============================

$88 USD em 1 dia
(244 Avaliações)

11 freelancers are bidding on average $35 for this job


Hello! With 99% completion rate, 740 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page Mais

$74 USD em 1 dia
(870 Comentários)

Hi. I know what d'you mean. [url removed, login to view] Check this link. The old-style mysql_connect now deprecated. If you want I can redo your sql functions. Regards, Slava.

$30 USD em 1 dia
(80 Comentários)

Hello. I can get your scripts fixed within the hour. The mysql functions you are using have been deprecated mainly for security reasons.

$25 USD in 0 dias
(73 Comentários)

Hello Sir, I can fix this for sure. Please start a PM on this. Thanks & Regards, Anshulika Bansal

$24 USD em 1 dia
(74 Comentários)

let me help you. Will be a long term relationship in web development. let discuss and start your work. thanks

$25 USD em 1 dia
(66 Comentários)

!! Ready for Trail Job to proof my skills !! I have experience in Web Development around 8+ years with expertise on Java, PHP, MYSQL, SugarCRM, vTiger, WordPress, Opencart, Magento, Drupal, Codeignitor, HTML, CSS, J Mais

$25 USD em 1 dia
(4 Comentários)

Hello , I could check your files to see whats wrong there , Pleasse contact me to discuss more . Petrescu Eduard Ionut , CEO ByTomiGroup Thanks

$15 USD em 1 dia
(8 Comentários)

I am online and can make it now pm me to do the updates and make sure that everything is working well regards essam

$25 USD em 1 dia
(0 Comentários)

A proposal has not yet been provided

$25 USD in 2 dias
(0 Comentários)

I am currently using PHP 5 and MYSQL 5.5 and i have designed a lot of websites with PHP and MYSQL. I should be able to solve that problem in no time

$25 USD em 1 dia
(0 Comentários)