Hello,
I have this code:
<?PHP
$rank = {rank};
if($rank="15") {echo "<li><a href='delnews'>Delete News</a></li>";} ?>
But it just doesn't load the page? can anyone tell me what the problem is and supply me with the correct code.
Hello,
On my current skin it has the FB comment system,
can anyone link me to the newer one that has newscomment.php
news2.php
etc. and shows up on the news stories?
Cheers.
Hello,
I have installed RevCMS, and I have the following web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1">
<match url="^(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url={R:1}"...
Hello,
M0nsta recently answered my question about a ban problem with my PHP login system.
I'm wondering, how would I echo the ban reason, it's in the 'bans' table under the column name 'reason' .
Can anyone help?
Hello,
I'm coding a new website,
And i have a login system with a ban.
Below is my code;
if(isset($_SESSION['loggedin']))
{
die("You are already logged in!
<a href='logged.html'> Go</a>");
} // That bit of code checks if you are logged in or not, and if you are, you can't log in again...
Hello,
I'm coding a registration for my site, and trying to do an if statement, so that if in the database, register == 1, it shows the form, else it shows Registration Is Currently Disabled;
I currently have this;
$register = mysql_query("SELECT * FROM register")
if ({$register} == 1)
{
echo...
Hello,
I'm learning PHP,
and I'm wondering what it's called when you use info from a database, to generate a URL, such as that used in RevCMS for news, where it loads the ID, and shows the news article relating to that ID.
&
Can anyone link me to a good tutorial on PHP Sessions?
I'm trying...