Hey guys you really are superb in php.
I fixed with your support all the problems
at last i used only this code
[code=php]
'AD_CODE4' => isset($adcode[4]) ? $adcode[4] : '',
'AD_CODE5' => isset($adcode[5]) ? $adcode[5] : '',
[/code]
Just curious to know if it would work fine or will be unstable.But lol its working.
User Profile
Collapse
-
Thanks for the support.
yes i got rid of the notices now. But now if i left empty the code box(place where any extra code is inserted) it is showing value "default" written on webpage.
I want to know that can i put some code to prevent this script from showing error if it founds no data in database.Leave a comment:
-
Thanks ,fixed 1st one.
The following problems are still their. Any hint.
[phpBB Debug] PHP Notice: in file /index.php on line 141: Undefined offset: 4
[phpBB Debug] PHP Notice: in file /index.php on line 142: Undefined offset: 5Leave a comment:
-
Thanks for the reply.
I am newbie with php. Please you exactly tell me where and what i should change to solve the problem.Leave a comment:
-
php undefined offset error
Hello
I have a script which have the facility of entering any code to some part of a webpage. I have some problems with it. When i put some code in the script then their is no error shown. When i try to not use a code and leave it empty the following php errors happens. I dont understand why. Help me.
Error shown are: -
[phpBB Debug] PHP Notice: in file /index.php on line 132: Undefined offset: 4
...
No activity results to display
Show More
Leave a comment: