I wrote a script in PHP that works fine on its own, but when inserted into a document containing CSS does not work properly. I am a newb with the PHP programming, and what I am trying to do is create a simple register/login script. Once the user has successfully logged in I used the "header" command to redirect them to the rest of the site. I tested the code in the page with CSS and the header command did not work. I also placed the code in a blank document and upon successful login It did work. Does anyone know if the CSS is what is causing the problem here? Also, the code placed in the non-css document was copied directly from the css document, and the extensions for both is .php.