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];
}
Using the $_GET variable to view certain records
Hello,First let me explain my problem, I have 2 pages the first page pull a list of Guide titles from a database for example if i had a guide called "Install windows" it would be pulled from
Simple AND question
Hello,I've got following code:Code: if(strpos($row[13],"http://")!==false) $info['results'][$num]['player']="PREVIEW"; else
Php script to read msword file
hi,I need to read a msword file and i want to print the contents in that word file.i used the fgets() and its working for text file. but its not working for word file.Help me in this.Thanks
Protecting forms
Alright, I want to protect some forms of mine from SQL Injections, because I had someone earlier spamming, and not just regular spamming. They edited all the current user posts to their name, and
The page should be expire when cilck back button
hi,i'm new to php world.i create user registration page.when i submit it,data goes to mysql.but when i click back button of browser it shows previous page.i need a code that perform session expirewhen
What are the two different files you download to update kernel?
What are the two different files you download to update kernel?
split values
I have values that are returned to me in this format:name=>test,age=>49What I want to get out of this is an array like thisarray('name'=>'test','age'=>'49');I was hoping
need help in mysql_num_rows()
please tell me what i am doing wrong in this query. it displays this errorCode: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\wamp\www\dynamic\quiz2.php on
Using cURL to PUT
Can somebody help with the correct php code to make a cURL PUT request. Here is a sample of code below that uses POST, but I need to modify this one so that it uses PUT instead.Code: <?php
Php If in MySql query (hiding labels if a field is empty)
Okay, I've been trying to do this for a while, and I'm finally going to ask for help so I can get the simple answer and feel like an idoit .Anyway, I'm building a dynamic driver profile page for my