Is there any way on php to get a url out of mysql and redirect to it? I have a login script that works properly out of the mysql database and validates and starts a session. The problem is that my tables include a "url" field. The user logs in with username and password, then the user is supposed to be redirected via the address in the database.
I haven't found a way to do this. So far I've seen the header("Location: /url " method, but it simply uses a url imputted to the script. It's not dynamic.
I also tried plugging the url into a variable, with no luck.
I'd appreciate any help with this! Rninja
I haven't found a way to do this. So far I've seen the header("Location: /url " method, but it simply uses a url imputted to the script. It's not dynamic.
I also tried plugging the url into a variable, with no luck.
I'd appreciate any help with this! Rninja