FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Php Switch Case
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Php Switch Case [message #169373 is a reply to message #169372] Wed, 08 September 2010 19:10 Go to previous messageGo to previous message
matt[1] is currently offline  matt[1]
Messages: 40
Registered: September 2010
Karma:
Member
On Sep 8, 2:54 pm, jfcby <jamesf...@gmail.com> wrote:
> I'm trying to get this php script to either include a web page,
> redirect to another webpage, or echo text. I have this page in the
> main www folder on the server.

[snip]

>         Switch ($gpg){
>
>                 Case $gpg == 'pd' && $gnb == 1:

[snip]

You don't understand the switch/case syntax:
http://us2.php.net/manual/en/control-structures.switch.php
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Another heredoc question
Next Topic: Downloading files, without internet renumbering...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 15:15:50 GMT 2024

Total time taken to generate the page: 0.06107 seconds