$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
11
Other forums
Posting to another Site?
I have software that people install.
When they install it, is there a way to make it post their d
help me fix these syntax errors...
I keep getting multiple syntax errors on this script like this one:
Parse error: syntax error
help need on ob_start()
Hi
I am a newbie in php, I have a code
Line number On/Off | Expand/Contract <?phpo
WORDPRESS - Multiple Loops Only Going to One Post?
I have various pages with multiple loops and i need them to be individual to all other categories.
PHP Function Page Advice
Hi All, I am quite new to PHP and Javascript but have written an Online Shop (Mainly for Fun and edu
Require select-option functionality in Module Pool Programming
Hi Gurus,
I am doing a development by Module Pool on Warehouse Management. For that devel
PHP XML extraction text
I would like to extract an xml text and have that text directly echo(print) out on my web page. Her
a multi dimensional array with for each
hi, I have been asked to write an array, I have Zone 2,3,4,5,6,7,8 each zone has 3 sections of weigh
Page not Loading After Test
Hey All
It seemed that an inlcude statement wasn't working for some reason, so I tried a more
drop-down with sub-category appear
Hello,
i know how to build a simple dro-down list, im looking for a code when im gonna choose