| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Wierd Sql Error | |
|---|---|
| Tweet Topic Started: May 12 2005, 12:22 AM (458 Views) | |
| Das | May 12 2005, 12:22 AM Post #1 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I know I have asked alot, but this problem I can't even begin to see where I went wrong. The error message is so weird.
I am trying to fiddel around with a register script. I entered tester as my name and password. Now to the code stuff.
It is probly something simple, but I can't begin to troubleshoot with that error message. It makes no sence to me. |
![]() |
|
| Sani | May 12 2005, 12:31 AM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Could be wrong, but try changingto
|
![]() |
|
| Das | May 12 2005, 01:07 AM Post #3 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Overlapping variables? Anyway when I tried I got a syntax error. This one looks a bit different though.
|
![]() |
|
| Sani | May 12 2005, 01:30 AM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Changeto
|
![]() |
|
| Das | May 12 2005, 01:37 AM Post #5 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Sucess, but Sani it was:
not...
Why didn't
Work? |
![]() |
|
| Sani | May 12 2005, 01:43 AM Post #6 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Im not too sure, but its maybe because the variables and table names are the same? |
![]() |
|
| Das | May 12 2005, 01:59 AM Post #7 |
![]()
Smells of rich mahogany
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
That makes sense. Why cant Sql errors be more specific? |
![]() |
|
| Rory | May 12 2005, 05:28 AM Post #8 |
|
i;m a mess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I think it was more because you had quotes around your column values. That does seem to be the only thing you have changed. I never use ' around anything except the values to be stored in the table. I don't put them around the table name, or the column name. |
![]() |
|
| SkItZo | May 12 2005, 06:50 AM Post #9 |
|
Support Volunteer
![]() ![]() ![]() ![]() ![]()
|
I believe single quotes ' breaks or seperates an SQL query or execution. That's why, if you don't have the function stripslasharrays(); or the likes and you entered in das_ein's it would break the sql query and give you an error. Or, it will register and output your username as das_ein\s |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
8:34 AM Jul 11
|




![]](../../../../0/1/0/p601690/pipright.png)



8:34 AM Jul 11