PHP and HTML

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Krishma
Forum Newbie
Posts: 6
Joined: Tue Feb 07, 2006 10:30 am
Location: Montreal

PHP and HTML

Post by Krishma »

feyd | Please use

Code: Select all

and

Code: Select all

tags where appropriate when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]


Hi:

I want display a HTML file if count = 1 if not it shouln'd show.  How do I do it?

Code: Select all

<?
if(isset ($_POST[$Count = 1]))

?>

<html>
<form action='daemon.php' method='post'>
<p align="left"><b><a href ="logout.php">Logout</a ></b></p>
<table border="0" cellpadding="0" cellspacing="0" align="right" >
<tr>
<td></td>
</tr>
</form>
</html>


Thanks in advance

Krishma


feyd | Please use

Code: Select all

and

Code: Select all

tags where appropriate when posting code. Read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

$_POST['Count'] == 1

?

This is so not a theory question. Moved to PHP - Code.
Post Reply