Reply to Re: [PHP] help out a noob w/ include & switch?

Your name:

Reply:


Posted by Robert Cummings on 09/21/05 02:19

On Tue, 2005-09-20 at 19:14, Thorsten Suckow-Homberg wrote:
> > Hi All,
> > My very first post to this group as I'm a freshly spanked new born
> > php
> > baby. Hope I have the correct stop for noob tech questions.
> Welcome :)
>
> > [source]
>
> First guess: On your "live" server the ini-value error_reporting is switched
> to report anything but notices and warnings or even completely turned off.
> Second guess: in the switch statement you provided us as the bogus
> code-fragment you did really forget to use
> '
>
> so you should try
>
> case 'artist1':
> ...
>
> instead of
>
> case artist1:
>
> and, for integer values, use
>
> case 1:
> case 2:
> case 3:
> ...
>
> instead of
>
> case 1,2,3:
> ...
>
>
> I hope this was valuable, or, in other words: HTH

*heheh* More valuable than my response I'm sure. I musta barely glanced
at it to miss all those flaws. Guess I tried to home in on something
that would cause a difference between one server and another.

Cheers,
Rob.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

[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

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