$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

listing help
Hi,

at first, great new design!!! I like it,

i got a problem,

I want to list so

Backflush
I am looking for a report in SAP that would give me a list of all parts that are populated with a ba

Create PHP table grid help, please
I have a MySQL database setup, now it's time for the table (gridview) design in php. Here's the prob

split values
I have values that are returned to me in this format:

name=>test,age=>49

Hardcopy printing is to wide
I want to make a hardcopy at runtime of my active form like this

Convert array to string and write to csv file
I am looking to write a MySQL query to a csv file.

At the minute I:

check for the orig

I have a parse error in this query help..
Code: $query1="INSERT INTO `rating` (`item_name`, `rating`, `ip_address`, `date_rated`) VALUES

PHP Code / Script To check weather the given email exists in a domain
Hi,

I want to implement the following in my web page

in sign up we will ask to enter u

Search in the PHP Files
have to search asterisk(*) in the php code of the php files .
In the html page one text box

Displaying data from MySql a different way
Hi all,
I'm pretty new to php and MySql and have hit a problem.

I am able to display data

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