Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
corporalstorm
Hangin' Around


Joined: Nov 06, 2006
Posts: 46

PostPosted: Mon Nov 06, 2006 1:05 am Reply with quote

Sorry.. I thought I needed help but I figured it out.. if someone can look at this and let me know. Is this a good code? Or did I put too much into it? I know there's shortcuts to things.

Code:
<?PHP


if ( !defined('BLOCK_FILE') ) {
    Header("Location: ../index.php");
    die();
}

global $prefix, $db;

$result = $db->sql_query("SELECT name FROM " . $prefix . "_authors WHERE radminsuper <

'1' ORDER BY name ASC");
while ($row = $db->sql_fetchrow($result)) {
$title = filter($row['name'], "nohtml");
    $content .= "<strong><big>&middot;</big></strong>&nbsp;$title<br>";
}

?>
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Mon Nov 06, 2006 6:05 am Reply with quote

nope...seems ok by me.....
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©