$get problem


Posted on 16th Feb 2014 07:03 pm by admin

Hi Guys ...

can you please tell me what i am doing wrong here
Code: <?php

$ShowBookmark = "False";
include 'Include/Header.php';

if (Get_QString('Post') == "True") {
GetGuide();
} else {
Show_Form();

}


function Show_Form() {
$thedate = date('l dS F Y');
echo '<div class="hd2"><font color=#666666><strong><center>Tv Guide</center></strong></font></div>';
echo '
<center><font face="Verdana" size="2" color="blue"><u>' .$thedate. '</center></u></font>';
echo '<font face="Verdana" color="red" size="2"><a href="Tvguide.php?channel=sabc1">Sabc 1</font></a>';
echo '<font face="Verdana" color="red" size="2"><a href="Tvguide.php?channel=sabc2">Sabc 2</font></a>';
echo '<font face="Verdana" color="red" size="2"><a href="Tvguide.php?channel=sabc3">Sabc 3</font></a>';
echo '<font face="Verdana" color="red" size="2"><a href="Tvguide.php?channel=Mnet">Mnet</font></a>';
echo '<font face="Verdana" color="red" size="2"><a href="Tvguide.php?channel=ETV">Etv</font></a>';

}


function GetGuide() {
if($_GET['channel'] == "sabc1"){
$getMyDataFrom = $Table[1];
}
if($_GET['channel'] == "sabc2"){
$getMyDataFrom = $Table[2];
}
if($_GET['channel'] == "sab3"){
$getMyDataFrom = $Table[3];
}

if($_GET['channel'] == "Mnet"){
$getMyDataFrom = $Table[4];
}
if($_GET['channel'] == "ETV"){
$getMyDataFrom = $Table[5];
}

No comments posted yet

Your Answer:

Login to answer
104 Like 11 Dislike
Previous forums Next forums
Other forums

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

login page does not execute a else statement
I've created a login page using sessions.
When an incorrect user name or password is entered then

PHP - HTTP Digest Authentication - Understanding Code Help
Hi Everyone,

This is my first time on your website and please excuse if I am asking silly que

Need help to modify php ELSE code
I'm trying to find a way to have the php code display a message if there is no inventory listed in t

Email Processor
I have a few questions so this post will be a larger one! Sorry, but I'm a bit of a PHP newbie so be

Array becomes unset by itself?
Hi,

I have a bit of experience with PHP but not extensive. It seems I cannot store any items

file_put_contents and createimagefromjpeg
All,
I do somethings and then I have the following code:
file_put_contents('./test/'.$filename

send() and recv() parameters confusion
On server Side:
int recv (Socket,Buffer, Length, Flags)
On Client Side:
int send (Soc

Files in current folder. Should be an easy fix.
Never mind. I've asked about this before and just found my answer. Anyway to delete this?

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash