Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
A "notice" is not an error.
It's the way that PHP tells you that it had to interpret a bit of code.
You see this because you have set the error reporting level high enough to see them.
It's a good practice to use them, but even if you have some notice, no need to panic, those are not errors.
Now, in your case, as knight13 pointed out, you used a string that was not included between single quotes nor double quotes.
This means that PHP searched for a constant named "s_from", "s_to" and such.
As it didn't found any, he converted it to a real string, and looked up the array for that string.
__________________
Only a biker knows why a dog sticks his head out the window.
Last edited by tripy; 01-13-2010 at 04:13 PM..
|