Tutor profile: Jake B.
Subject: Python Programming
What is the difference between a linked list in Python and a dictionary?
Python does not have arrays; data structures created with square braces are linked lists, which can take a long time to iterate over, but are useful when you do not have an index. A dictionary is hashed, meaning it has constant lookup time, but the index is needed. Dictionaries should not be iterated over.
Subject: PHP Programming
In PHP, what is the best way to protect against SQL injections?
Prepared statements, done through PHP's standard library or through PDO, are the best way to protect against SQL injections. They filter out any malicious code and make sure that the inputs are sanitized.
Subject: HTML Programming
How is HTML interpreted by the browser?
HTML is sent to the browser as a tree, with the <html> element being the root node, with the child nodes such as <body>, <div>, and any other child elements you have put in your website as child nodes.
needs and Jake will reply soon.