You are here: Re: Undefined Index notices « PHP Programming Language « IT news, forums, messages
Re: Undefined Index notices

Posted by Cal Lidderdale on 10/04/14 11:50

<snip>

I had the same problem. Page 1 uses an image map (the layout of booths
at a festival). Depending on where you click it calls page 2, sending it
the booth number you selected popping up a new window with the booth
number preselected. (ooooooooo)

<.in.Javascript...>(page booth1.php)
url = "booth2.php?" + "booth=" + booth;
win4 = window.open (url ,"", option);

:-O Notice :-O Notice ... Notice
(oh shutup)


So I added the ?missing? items.
url = "booth2.php?" + "booth=" + booth +
"&name=&address=&phone=&email=&comment=";
win4 = window.open (url ,"", option);

The silence is deafening :-D

As an aside - Why da flip did someone decide that the "Notice" needed to
be spit out is beyond me. And shouldn't (is) there be a way to say
"Shhhhhhhh" IE "<?php -quite"

 

Navigation:

[Reply to this 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

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