I've been commanded to crucify you for your horrible, I mean horrible code.
You're so inconsistent, and you're trying to help someone!
PHP Code:
include("connector.php"); // This is the MySQL connector file
include is not a function/method, why are you using parenthesis? it's a language construct.
include "bla.php";
PHP Code:
$sql = mysql_query("SELECT * FROM `users` WHERE `id` = '{$_GET["id"]}'");
Can you say
SQL Injection??
Why don't you define it and clean it first! before just throwing it in the query..
You're helping him with MySQL right?
WHAT THE HELL IS THIS? mysql_num_array
WHAT THE HELL IS THAT? mysql_num_array
I mean seriously.. mysql_num_rows..!
PHP Code:
echo("ID does not exist!");
Echo is a language construct! Not a method/function.. no parenthesis.
PHP Code:
else while($fetch = mysql_fetch_array($sql)) // ID does exisit, so lets fetch the data. The fetch creates an array like the previous posts :)
{
Oh that's real valid... my god.
You have XSS vulns, SQL Injection, wrong function names, wrong syntax, and you're attempting to help him?!
My god kid, just don't attempt anymore.. I can't be bothered to go through your post more it's so damn awful.
Use heredoc for that hideous HTML too.. gah.