When a user logs in onto my site, the form checks against the database using check.php. But I need it to check the information against the database then, if the information (username and password) is correct, redirects them to the homepage, but if they have not supplied the correct information, doesn't redirect them. Is this possible? If so can you provide me with a PHP Script. I've tried javascript redirect, header redirect and meta redirect but dreamweaver says that there is an error in the syntax on that specific line.