« first day    last day (43 days later) » 

2:26 AM
How to correct this? > Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\a\left-col.php on line 3
 
2:42 AM
Lastly how to correct this? ibb.co/2hzSvJX , there are two dots, I only need the updating dot
 
3:01 AM
You need only one dot?
 
yes sir :)
I'll upldoad the latest changes in the github
should I?
 
Okay update the git and will solve your this problem
 
love you sir :D
wait
done sir, github.com/patrickesguerra/messaging, there is a database file there sir.
 
okay thanks will check
 
3:25 AM
<?php
require('connection.php');
session_start();

$user_name = $_SESSION['username'];
$user_id = $_SESSION['user_id'];
if(isset($_REQUEST['from_user'])){
$advance_time=time()+15;
$user_id = $_REQUEST['from_user'];
$query=mysqli_query($con,"SELECT * FROM status WHERE user_id='$user_id'");
if(mysqli_num_rows($query)>0){
mysqli_query($con,"UPDATE status SET status='$advance_time' WHERE user_id='$user_id'");
}
}else{
mysqli_query($con,"INSERT INTO status(user_id,status) VALUES ('$user_id','$advance_time')");
Add this above code to updating.php and your work is done
Also mark my answer correct
I have added new answer with this code
 
4:26 AM
It worked! Thank you! :)) I will check your answer and can I beep you up whenever I need help someday? currently I have a google map problem yeah :< maybe someday?
If I log it out why is it taking so long to red?
 
Yes since you are adding +15 second to status it will take long time for green to red
 
is it possible to be faster? or will it destroy the online time?
 
Add +5 instead of 15
Will help you out
 
but will it not destroy the status of being online?
 
No try it
 
4:37 AM
I made it 2 :) Thanks anyway, I've waited 3 weeks just to find a man who can solve my problem, uhm man? can I ask you If I have a problem that is hard for me in the future? will this message just pop up in your browser?
 
5:02 AM
This discussion will be forever which nation you belong?
 
5:15 AM
Philippines :)
 
5:36 AM
hello?
 
 
8 hours later…
1:50 PM
Hi
 

« first day    last day (43 days later) »