This is a discussion on "Suddenly having trouble.." within the PHP Forum section. This forum, and the thread "Suddenly having trouble.. are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Suddenly having trouble..
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Suddenly having trouble..
I really don't get this.. however I had this script working flawlessly yesturday, and I went to change a couple things, and now suddenly it's not working properly. I am entirely confused as to why, because as far as I know, I didn't change a single thing. But here it is.. lemme know if you guys see anything wrong. Otherwise I'll have to assume something's up with my DB..
|
|
|
|
#2
|
|||
|
|||
|
Re: Suddenly having trouble..
First problem is case sensitivity.
Second problem.
|
|
#3
|
|||
|
|||
|
Re: Suddenly having trouble..
Aye, it was kind of a combination of all the above. However the single quotes around the table name are actually backticks.. not necessary in most cases, but I tend to use them to be precautionary.
Thanks a lot! |
|
#4
|
|||
|
|||
|
Re: Suddenly having trouble..
SELECT * FROM `EMPLOYEES` where loginName='$logname
i always used the thought ``='' like `loginName`='$logname' (do that incase you ever have a column named table or where or any mysql commands, so it doesnt get confused. also, never capitalize columns or you will get very confused.
__________________
www.MonsterCoding.com - Website Programming and Development Services |
![]() |
| Tags |
| suddenly, having, trouble |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Having trouble with PHP | voodoo465 | PHP Forum | 5 | Feb 20th, 2007 21:47 |
| Browser trouble? | sheltomlee | Starting Out | 4 | Jan 28th, 2007 21:47 |
| CGI Trouble | Maverick25r | Other Programming Languages | 0 | Jul 31st, 2006 18:24 |
| js menu suddenly disappeared in ie | mendel69 | JavaScript Forum | 7 | Jul 31st, 2006 17:16 |
| Text suddenly awful in Photoshop 7 | autumn_whispers2me | Graphics and 3D | 4 | Jun 12th, 2006 12:51 |