$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
Did you know?Explore Trending and Topic pages for more stories like this.
$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
11
Other forums
What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin
Page doesn't expand for content
Hi. I've been testing a query I made. It's here http://lapr1.6te.net/inquerito.php
The page doesn
array_combine() trouble w/csv file
I have a problem with a piece of code I wrote to import some records from a csv file into mysql. I h
How can i steam a video on my PHP site? (non YouTube)
Basically I have a PHP site and don't want to give page rank to YouTube. I just want to stream a bas
login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php
Ignore html and bbcode?
I've created a function to limit the amount of text according to the amount of words.
However
help finding hacking loopholes
i was attacked by a redirect php injection
my pc is clean of viruses
so i figure that
Help With editting and deleting form
So look at this image :
http://img194.imageshack.us/img194/8272/snapshot5f.png
This table
parameter passing issue on function
Well I thought I had created a pretty slick web page, using ?page and $_GET to load pages which wher
Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...
Code: $define_li