making it so if your not logged in, you cant see content
Posted: Mon Dec 04, 2006 4:38 pm
I think I may have posted about this before, but I dunno
my problem is, that when you login you see
a table, with logging in and stuff, however, you also see it if your not being logged in...
How do I have PHP with html? so say like
So when my MySQL searches for the username & pw, if they match, it'll call user() otherwise it'll call unregistered()
is that possible?
my problem is, that when you login you see
a table, with logging in and stuff, however, you also see it if your not being logged in...
How do I have PHP with html? so say like
Code: Select all
<html>
<body>
<head>
</head>
<?php
function user()
{
<table = border='1' etc..>
<tr>
<td>Blah</td>
</tr>
</table>
}
?>
</body>
</html>is that possible?