πŸ§ͺ 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: 11590

2️⃣ Browser Geolocation API Test

⏳ Checking GPS support...

3️⃣ Test Logs

4️⃣ Recent GPS Records (Last 10)

IDUserDate/TimeLatitudeLongitudeMap
12356Dilshan2026-04-16 16:40:566.8396265879.99111715πŸ—ΊοΈ View
12355Dilshan2026-04-16 16:35:036.8420246879.96437750πŸ—ΊοΈ View
12354Rajitha2026-04-16 14:31:097.1267556080.10996720πŸ—ΊοΈ View
12353Dananjaya 2026-04-16 13:52:597.0911426579.99860798πŸ—ΊοΈ View
12352Rajitha2026-04-16 13:35:157.1519306080.06604830πŸ—ΊοΈ View
12351Dananjaya 2026-04-16 13:05:327.0922695680.00103083πŸ—ΊοΈ View
12350Kumara2026-04-16 12:16:036.9330000079.86410000πŸ—ΊοΈ View
12349Kumara2026-04-16 12:15:416.9330000079.86410000πŸ—ΊοΈ View
12348Kumara2026-04-16 12:15:276.9330000079.86410000πŸ—ΊοΈ View
12347Kumara2026-04-16 12:15:156.9330000079.86410000πŸ—ΊοΈ 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';