View Single Post
  #13  
Old 03-23-2011, 02:21 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,865
fadillzzz is an unknown quantity at this point
Default

This should work
PHP Code:
<?php

include("inc/functions.php");

//***************//
//  START SCRIPT //
//***************//


if ($isloggedin == "yes") {
$itemurl "http://img37.imageshack.us/img37/1815/74598913.png";
mysql_query("INSERT INTO ".$prefix."useritems VALUES ('','$loggedinname','Testing X','$itemurl')");
}
else{
$article_content $article_content."You must be logged in to receive this item.";
}  


//***************//
//  OUTPUT PAGE  //
//***************//

echo showpage($article_title$article_content$date);


?>
I don't think there's such a thing as 'is' function in PHP. It should be 'if'
And you forgot an opening curly bracket after the ($isloggedin == "yes")
Reply With Quote