How come it works with this though?
mysql_query("INSERT INTO `Test`.`user` (`id`, `name`, `password`, `ip`, `date`, `registered`) VALUES (NULL, 'test', 'test', 'test', 'test', 'test 'test', 'test')", $c);
But if i adjust this even a little bit it doesn't work. why does this above example work yet this doesn't?
mysql_query("INSERT INTO" . $webdbname . "`user` (`id`, `name`, `password`, `ip`, `date`, `registered`) VALUES (NULL," . $sname . "," . $spassword . "," . $sip . "," . $date)", $c);[/code]