πŸ§ͺ GPS Tracking System - Test Dashboard

πŸ‘€ Current User: test_user

1️⃣ Database Connection Test

βœ… Database connection successful!
βœ… Table s_autolocations exists

Table Structure:

FieldTypeNullKeyDefault
idint(11)NOPRI
user_namevarchar(50)YESMUL
latitudedecimal(10,8)YES
longitudedecimal(11,8)YES
sdatetimestampYESMULCURRENT_TIMESTAMP
sal_exvarchar(10)YES
πŸ“Š Total GPS records in database: 21696

2️⃣ Browser Geolocation API Test

⏳ Checking GPS support...

3️⃣ Test Logs

4️⃣ Recent GPS Records (Last 10)

IDUserDate/TimeLatitudeLongitudeMap
22462Dilshan2026-10-02 11:35:206.7174324480.05951729πŸ—ΊοΈ View
22461Dilshan2026-10-02 11:34:486.7172090180.06017022πŸ—ΊοΈ View
22460jude2026-10-02 11:27:436.6636350080.43988830πŸ—ΊοΈ View
22459Malinda2026-10-02 11:27:147.4793448080.04540980πŸ—ΊοΈ View
22458jude2026-10-02 11:27:116.6636533080.43989330πŸ—ΊοΈ View
22457Pkumara2026-10-02 11:26:467.6304324080.23927610πŸ—ΊοΈ View
22456Malinda2026-10-02 11:26:397.4793366080.04540880πŸ—ΊοΈ View
22455Malinda2026-10-02 11:25:377.4793407080.04541070πŸ—ΊοΈ View
22454Mevan2026-10-02 11:25:356.6986889080.07394300πŸ—ΊοΈ View
22453Mevan2026-10-02 11:25:076.6987006080.07393340πŸ—ΊοΈ View

5️⃣ How to Use

Automatic Tracking: Manual Testing: Troubleshooting:

6️⃣ Useful SQL Queries

-- View all GPS records for current user
SELECT * FROM s_autolocations WHERE user_name = 'test_user' ORDER BY sdate DESC;

-- View GPS records from today
SELECT * FROM s_autolocations WHERE DATE(sdate) = CURDATE() ORDER BY sdate DESC;

-- Count records per user
SELECT user_name, COUNT(*) as total FROM s_autolocations GROUP BY user_name;

-- Delete all test records
DELETE FROM s_autolocations WHERE user_name = 'test_user';