Skip to main content
Participant
December 10, 2011
Question

Redirect to different pages after login

  • December 10, 2011
  • 1 reply
  • 543 views

I use the default login system from Dreamweaver for PHP using a MySQL table

In the table, there is a field named "url" that stores the url where the user must go after login. But I can not grab it and put it at $ MM_redirectLoginSuccess ="

This topic has been closed for replies.

1 reply

MurraySummers
Inspiring
December 15, 2011

Change this -

    header("Location: " . $MM_redirectLoginSuccess );

to this -

    header("Location: http://www.example.com/" . $row_rsWhatever['url'] );