You are here: Re: Problem with PHP Page « All PHP « IT news, forums, messages
Re: Problem with PHP Page

Posted by David Haynes on 09/28/24 11:44

The Numerator wrote:
> The only problem with the code that David gave me is that the title,
> and the meta tags don't work. For example, the title is "Stuff -"
> instead of "Stuff - Title", etc...
>
This would happen if $_GET['type'] was not one of '', 'youaremight' or
'justgotowned'.

Try putting a default case into the switch. e.g.

case 'justgotowned':
$msg="Just Got Owned";
break;
default:
$msg="type is not legal";
break;
}

-david-

 

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

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