Find Jobs
Hire Freelancers

mysql querry of timediif to calculate difference in 3rd col

$2-8 USD / hour

In Progress
Posted over 12 years ago

$2-8 USD / hour

In mysql I have two column of time tcal and Tpost I just need there difference in third column Rtime. I tried various queries but nothing work. I am very confused. I used these commands but nothing is woking. First Try $tresult = mysql_query("SELECT TIMEDIFF(tcal,Tpost) FROM $usertable"); mysql_query("UPDATE $usertable SET Rtime = $tresult"); [/code] Second Try mysql_query("UPDATE $usertable SET Rtime = TIMEDIFF(tcal,Tpost"); Only find that this code is working: mysql_query("SELECT TIMEDIFF(tcal,Tpost) FROM $usertable"); But this code can only use with echo but i need to put the result back into my database I need to use this time difference result in third coloumn.. If you have any other idea to calculate difference then discuss with me. I can share my team viewer id.. I am just stuck in this function its very simple usually takes 10-20 min to complete that's why my budget is very low..
Project ID: 1338282

About the project

10 proposals
Remote project
Active 12 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
Awarded to:
User Avatar
The problem is already solved,will deliver when you are ready
$2 USD in 1 day
0.0 (0 reviews)
0.0
0.0
10 freelancers are bidding on average $5 USD/hour for this job
User Avatar
Can fix it fast :)
$8 USD in 9 days
5.0 (128 reviews)
7.1
7.1
User Avatar
Sri Technocrat is marvelous in its quality. We have been maintaining the quality in every field whether it is services or training. We have proved our stability. We have been working with the same grace & quality. Our Clients find us better than the so called best. We believe that Customer Satisfaction and Trust will always be our Key for success. Sri Technocrat provides the best breed of designing and application solutions to small and medium sized businesses around the world. A strong Dedicated Executive Team consists of leaders from Indian Institute of Technology (IIT) and various industries and backgrounds aimed at helping execute the plan. With Regards Sri Technocrat.
$8 USD in 2 days
4.7 (43 reviews)
6.8
6.8
User Avatar
This is a simple task. I can do it in no time.
$8 USD in 2 days
4.8 (4 reviews)
3.8
3.8
User Avatar
Hi please read pm.
$8 USD in 1 day
4.8 (6 reviews)
2.4
2.4
User Avatar
Dear Sir , I would like to work for you on our project 40 hours in a week. Please check our PMB for more detail. Thanks Amar Panchal
$7 USD in 30 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I can help in the query. Thanks
$5 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
It's very easy!
$2 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
The fix is in the PM!
$5 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
i will fix this issue.
$2 USD in 0 day
0.0 (0 reviews)
0.0
0.0
User Avatar
hello, i am good at mysql and php. i have developed five projects at college level. i can assure you about the performance and quality of project.i am a software engineer..
$4.50 USD in 20 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have already written the Query for you.
$5 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
New Delhi, India
5.0
8
Member since Oct 3, 2007

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.