polarexpress;11015503 wrote:$name & $email were defined properly.
...so you claim. However, you're also having issues, which is why I'm not really going to take your word on it. 😉
Why can't you simply copy and paste the exact PHP statements where you define those variables and let us determine if they were "defined properly" ?
polarexpress;11015503 wrote:echoing query doesn't make any difference.
Uh, yeah it does. It shows you the exact SQL query that is being sent to your SQL server, meaning you can copy-and-paste it here for us to examine. What other "difference" were you expecting it to make?
QUOTE=polarexpress;11015503; doesn't print an error on error, isn't it funny?[/QUOTE][/quote]No, because it's very possible there is no error occurring. Fore example, if the variables $name and $email didn't exist or weren't defined correctly, you'd be telling the SQL server to insert a row with no data. It will happily do so - thus, there is no error.