Reply to E_ALL: notice with list()

Your name:

Reply:


Posted by Marc Bauer on 10/13/07 23:51

Hi

I'd like to fix one E_ALL bug in the following code, but i have no idea
what's wrong here... any idea how to solve this? I'd like to say - it is
possible that the "Second part match string" isn't inside the $text
variable... maybe this is the source of this notice. However i'd like to
remove the notice...

Error:
"notice: Undefined offset: 1"

Code:
list($first, $second) = explode("Second part match string", $text);


Regards
Marc

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация