to fix one obvious mistake, <form> must be placed inside <body> (see also validator.w3.or g)
connection to sql
Collapse
X
-
Ok, first of all let me say that Internet Explorer is a horrible browser, especially for web development. It's usually best to use Firefox or Chrome, and then just check in with IE from time to time to see if you need to apply fixes. Join the 21'st century! ;)
StevenComment
-
This doesn't sound like a problem in your code. If you are getting "The connection was reset" as an error message, it sounds more like a problem with your server configuration.
Could also be that something in your PHP code is causing a timeout. Do you have to wait long until the error message is shown?
Could you tell us more about your server? Like the OS you are running, and the versions of the server software. Also, any firewall or such you are running.Comment
-
This is very subjective. In the future, phrase this as "I think of IE as a horrible browser", as your opinion does not necessarily has to reflect reality. I use IE for development and I have no problems whatsoever.
Not to mention that if you try to adhere to the standards when creating websites, you usually have to work around a few IE bugs/incompatibiliti es. A lot of us even have "standard" IE standards support fixes we include by default to avoid the brunt of it.Comment
-
-
I know that, in Internet Explorer at least, your error oftentimes implies PHP errors. When there are errors in a page, your server sends an HTTP 500 response. Internet Explorer takes the HTTP 500 response and runs with it. You can check for the exact errors by checking your error logs. Since you are using an Apache set up, you can find it in the error.log file in the logs folder. i.e. c:\wamp\logs\er ror.log
Looking at your code, I assume that you WILL find errors. You don't check if $_POST variables are empty, you spelled "INSERT" incorrectly, and you attempt to send headers after output has already been made to the browser.Comment
-
@MrMancunian: How can you claim to use IE for development? Each version of IE renders differently. You'd have to have IE6, IE7, and IE8 up to be able to claim that you support IE.
Which is what I have to do all the time. -_-
I'm scared of what problems IE9 will carry with it. I assume buggy CSS3 and HTML5, if they even follow through with it. To Microsoft, HTML5 is a buzzword.Comment
Comment