I am using MC Code Lite, and am trying to build a mass give mod for admins only. And I keep getting error
"Parse error: syntax error, unexpected '<' in /home/leu/public_html/admin.php on line 905
could someone reveiw this code and tell me what I am not seeing.
function mass_item_give()
{
global $ir,$c;
<form action='admin.php?action=giveitemsub' method='post'>
All Users "mysql_query("SELECT * FROM users ",$c,'user')."
Item: ".item_dropdown($c,'item')."
Quantity: <input type='text' name='qty' value='1' />
<input type='submit' value='Mass Item Give' /></form>";
}
function mass_item_submit()
{
global $ir,$c;
mysql_query("INSERT INTO inventory VALUES('',{$_POST['item']},{$_POST['user']},{$_POST['qty']})",$c) or die(mysql_error());
print "You gave {$_POST['qty']}of item ID {$_POST['item']} to all users.";
}
any help would be great