``` --- ### 3. Critical: Redirecting Users to Their Projects You mentioned you want users to see their projects specifically upon logging in. To do this, your `admin.php` (or wherever you display projects) must use the `user_id` stored in the session. **In your project display logic:** ```php // 1. Get the logged-in user's ID $current_user = $_SESSION['user_id']; // 2. Fetch only projects assigned to this specific user $query = "SELECT * FROM project_timeline WHERE user_id = '$current_user' ORDER BY date_created DESC"; $user_projects = $conn->query($query);

EDIFICANDO EL
MAÑANA

Construcción civil y remodelaciones con estándares premium.

Cotizar Ahora

NUESTROS PROYECTOS

Contacto Directo