I've got this code that lets you add websites to the status list and it tells people if the server is online or not but it doesn't get the list, can anyone see whats wrong in the code?
Printable View
I've got this code that lets you add websites to the status list and it tells people if the server is online or not but it doesn't get the list, can anyone see whats wrong in the code?
Do yourself a favour and don't use that code.
Why? Whats bad about it?
- It contains deprecated HTML
- It is not indented.
- HTML is output in the middle of the code using echo statements
- The HTML is not well formed.
- he database connection credentials are in the script, as is all the information about the table structure
- Un-escaped form values are inserted straight into queries.
I am sure I could find a few more. :)
Do you know of any code like this then?