Suoritettu

PHP error stats

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/pallel29/public_html/[login to view URL] Stack trace: #0 /home/pallel29/public_html/[login to view URL](2): include_once() #1 {main} thrown in /home/pallel29/public_html/[login to view URL] on line 8

DB file

<?php

define('DB_SERVER', 's');

define('DB_USERNAME', '');

define('DB_PASSWORD', '');

define('DB_DATABASE', ');

$connection = mysql_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD) or die(mysql_error());

$database = mysql_select_db(DB_DATABASE) or die(mysql_error());

?>

[login to view URL]

<?php

include_once('[login to view URL]');

$start_date = $_GET['sdate']. ' 00:00:00';

$end_date = $_GET['edate']. ' 23:59:59';

$com_name = $_GET['cname'];

$sql = "SELECT clid, calldate, disposition, `src` ,`dst`, `dstchannel`, `linkedid` FROM `asterisk_cdr` WHERE `calldate` BETWEEN '$start_date' AND '$end_date' AND `clid` LIKE '%$com_name%' AND `disposition` IN ('ANSWERED','FAILED' )GROUP BY linkedid UNION SELECT clid, calldate, disposition, `src` ,`dst`, `dstchannel`, `linkedid` FROM `asterisk_cdr2` WHERE `calldate` BETWEEN '$start_date' AND '$end_date' AND `clid` LIKE '%$com_name%' AND `disposition` IN ('ANSWERED','FAILED' )GROUP BY linkedid";

$result = mysql_query($sql) or die ("Query Failed credit.." .mysql_error());

$num_rows = mysql_num_rows($result);

if($num_rows > 0)

{

?>

Taidot: PHP, MySQL

Näytä lisää: php poker stats, php nba stats, mysql php simple stats, php site stats tracking cookie, php shoutcast stats html, simple php shoutcast stats, cacti php apache stats, php footbal stats, php soccer stats script, php parser stats, script php cs stats, php code wordpress fatal error, php mysql stats, error wordpress fatal error call undefined function get_front_page_template

Tietoa työnantajasta:
( 42 arvostelua ) Stenløse, Denmark

Projektin tunnus: #21266681

Myönnetty käyttäjälle:

Sonicoders

I have 5+ years experience as a web developer will fix the error. inbox me we can discuss more over chat.

$10 USD 1 päivässä
(149 Arvostelua)
6.5

39 freelanceria on tarjonnut keskimäärin 21$ tähän työhön

amrshawky35

Hi there, Sounds like your hosting upgraded the PHP version and your code need to be upgraded too so message me and let's get started Regards, Amr

$30 USD 1 päivässä
(107 arvostelua)
7.4
bjrupani

Hello hiring member i hope you are doing well i am bhavika i have 4+years experience in php , laravel,ajax , jqeury , javascript ,i can solve this things and i can start this right now i can solve this within 30mins so Lisää

$20 USD 1 päivässä
(144 arvostelua)
6.6
grigorywazin

Hi, How are you? I read your project post and very interested in your project. I understand your requirement and can help you. So if you have mind to work with me, please discuss via chatting. I will wait for your goo Lisää

$20 USD 1 päivässä
(27 arvostelua)
6.4
jamesmartin81

I have experience of Website in PHP, Laravel, CodeIgnitor, Wordpress, Opencart, Woocommerce, Photoshop, Adobe Illustrator . We also have experience of making Android,Window and iphone application with ionic & phonegap. Lisää

$20 USD 1 päivässä
(131 arvostelua)
6.0
bhaskarmandal

Hi, I am 8 years experienced PHP developer. I understand your point. I can complete this project within two hours . Please check my profile for my work quality . Thanks, Bhaskar Mandal

$30 USD 1 päivässä
(90 arvostelua)
6.2
jafarali14

Hi Sir/Madam, Thank you for going through my proposal for your Job titled I have gone through your job posting. I am an Expert PHP Developer with extensive experience of developing web and mobile applications. i am ful Lisää

$20 USD 7 päivässä
(95 arvostelua)
5.7
manjeet2017

Hey there! Read your project description and can do your task. Lets discuss more over chat.. Clients themselves expresssing our excellence of work, Here you can check. https://www.freelancer.com/u/manjeet2017?w=f Bel Lisää

$50 USD 3 päivässä
(86 arvostelua)
5.7
aykutcanturkmen

Hi, there. I'm real expert. As you can see my review I'm expert at Javascript and ReactJS and Angular and PHP... Of course Laravel and Codeignitor is perfect. The person who experts at Javascript can clearly finish all Lisää

$25 USD 1 päivässä
(34 arvostelua)
5.5
happyday2008drea

Hello! I have seen your project description carefully. I have read the project description and understood the project requirements. I want to discuss more with you Thanks.

$15 USD 7 päivässä
(26 arvostelua)
5.3
romansokolv708

Hi, I'm very glad to bid your project. I've read your job post carefully. This job really attracts me and also your required skills are completely matched with my major skills. I have good knowledge and rich experienc Lisää

$30 USD 1 päivässä
(19 arvostelua)
5.3
whiteeagle0001

Hello,How are you? I have read your description in more detail and have much interest in your project. So I think that I can finish your work perfectly as you need.I have many experiences for PHP. If you need to discu Lisää

$30 USD 1 päivässä
(9 arvostelua)
5.2
aftabahmad334

Hello There I am Aftab.I have gone through your project details and understand you need... I am highly qualified for this job and ready to discuss details. My Experience I have been in Web Development and graphic des Lisää

$15 USD 1 päivässä
(28 arvostelua)
5.2
waltermonica

Hi, I assume that this error came after the webhotel updated their php version, I've fixed many similar problem, there's high chance that this is an older script and php version or MySql is updated. I can fix this iss Lisää

$30 USD 2 päivässä
(13 arvostelua)
4.5
AyubArif

Hi, i know the solution of this issue. mysql_connect is deprecated now. You've to use mysqli_connect. If you need any help then just ping i can fix this within minutes. Looking forward to hearing back from you. Thank Lisää

$12 USD 1 päivässä
(10 arvostelua)
4.4
Rajaraz1

Hi I have read your bid and its quite similar to what I have already done. What I can bring more to your project is my expertise and efficient solution provision with years of experience in handling this scale of pro Lisää

$20 USD 1 päivässä
(5 arvostelua)
4.2
w3tridip2017

Hi, I've read carefully of your job description about "PHP error stats".I am a professional "Full Stack Web Developer".I have more than five years experience in Web Development. Your satisfaction with the project is Lisää

$20 USD 1 päivässä
(46 arvostelua)
4.4
purplemaestro

Hello. My name is Muhammad Hassan. I have high level expertise in PHP. I can start right now and will complete it in no time. Please share other details with so that I can start working on it. Regards

$10 USD 1 päivässä
(16 arvostelua)
3.9
haiyang19890101

Hello! I have seen your project description I will complete your project satisfactorily to your requirement. I can start work right away. I will be looking forward to hear from you. Thanks,

$15 USD 7 päivässä
(24 arvostelua)
3.9
lesteraguilar

I am PHP expert. ***** Dear Sir ***** Thank you for sharing the job details. As a senior developer, i have rich experience 7+years in all kinds of web application. i am full stack developer and i can start work righ Lisää

$20 USD 7 päivässä
(10 arvostelua)
3.7
TopDesign731

[login to view URL] give me source quickly. I am a professional ⭐---“ PHP & MySQL pert”--- ⭐to have rich experience with sql,sqlite,mongo for 5+years. I have enough-time now and I am ready to work with you immediately.h Lisää

$20 USD 2 päivässä
(3 arvostelua)
3.6