View Single Post
Old 11-14-2006, 07:06 AM   #1 (permalink)
Izzmo
v7n Mentor
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,338
iTrader: 0 / 0%
Latest Blog:
Starting p90x today

Izzmo is a highly respected web proIzzmo is a highly respected web proIzzmo is a highly respected web proIzzmo is a highly respected web proIzzmo is a highly respected web proIzzmo is a highly respected web proIzzmo is a highly respected web proIzzmo is a highly respected web proIzzmo is a highly respected web proIzzmo is a highly respected web proIzzmo is a highly respected web pro
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
Unhappy [PHP] Undefined Index??

Okay, out of all of my years in PHP, I've never came across this before.

Here is the error:
Notice: Undefined variable: i in E:\wwwroot\onwswimming.net\index2.php on line 3

I'm not sure why it's coming up, it doesn't make sense.

Here is the background:
I developed this website originally on my webserver, which is a Red Hat Linux server with PHP & MySQL. Since they wanted to buy their own hosting, I had to move it over to their new web server for them. The server I moved the site + database to is a Windows IIS with MS SQL (PHP Installed). I don't know the error came up, the versions are the same, and it doesn't have anthing to do with the database extension for PHP I had to install for MS SQL.

So, has anyone came across this error and know how to fix it?

Also, I have done the isset() function on other occasions, but you can't do this for isset():
Code:
if(isset($i == "logout")) { }
So, is there another variable in place to do this? I've never came across this error, EVER! So, it's a whole new thing to me unfortunately.

Server info: http://onwravens.net/phpinfo.php
__________________
Izzmo
Coding Guru Extraordinaire
ZeroWeb Hosting & Design - Customizable hosting for every type of user!

Last edited by Izzmo; 11-14-2006 at 07:18 AM.. Reason: Change Title
Izzmo is online now   Reply With Quote