The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'm using this code in my acp directory, and when ever I submit my form I get the error message I listed below, but I'm not sure why. Is it because I'm not using the correct variables for vB? Any help is greatly appreciated
![]() Code:
<?php $body = $_POST["body"]; require_once('./global.php'); $sql_pass_get = "SELECT * FROM user WHERE username"; if('username' == "" OR $body == ""){ echo "Error. You cannot enter a blank message or name!"; exit; } else {} mysql_query("INSERT INTO `staffchat` ( `username` , `body` ) VALUES ( 'username', '$body' )") or die ("Please do not flood the server. Try again in a minute or so, press BACK on your browser."); header("Location: staffchat.php"); ?> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|