![]() |
PHP - If else within if else
What did I do wrong here? :(
I'm kind of new to PHP coding... Thanks in advance, guys! PHP Code:
|
You can enable error reporting to show of any particular issues with:
PHP Code:
PHP Code:
}. If you were to indent your code at each level, you would see this:PHP Code:
Avoid using chdir just to perform inclusions (or any explicit full paths inside of anything except potentially a globally included file). Use relative paths; this way if you change your host or webserver than you don't need to update all of your code again. I can't tell you what goes into the relative block, but if you describe where this file is in relation to chdir location than I could tell you what it needs to be. |
Thanks Fou! I really appreciate your help.
//I posted another thread. It's the same script with the fixes you mentioned, but I added onto it. |
| All times are GMT +1. The time now is 11:55 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.