PHP and if commands

Associate
Joined
13 Nov 2003
Posts
1,567
Location
Manchester
Hi All

Just working on something, trying to get an if command to work

What I need is a statement that I can drop into the body of my page that does the following things.

If $auth =1 then display some html
if $auth =0 then display nothing.

Im sure this is really easy but im still learning php lol

Thanks in advance you lovely people

:)
 
Spot on, cheers dude.

Now, this is slightly annoying im sure lol... but how do I put html within that, probably a table.

As I know html within php is a bit wierd lol

Thanks
Aaron
 
Back
Top Bottom