The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Stuck on an INSERT..
I feel really dumb for asking this.
I'm still fairly new to coding in PHP so I'm a little confused here: Simply put, I'm trying to insert data into a table from a simple form but I can't get it to work. I've tried everything I can think of and I still don't understand.. Can anyone see an obvious error in the code? Also, when sending the form an error popup tells me the following: (even when linking to member.php?u=$userinfo[userid]) Quote:
PHP Code:
HTML Code:
<form action="member.php" method="post"> <input type="hidden" name="do" value="insertnewcomment" /> <input type="hidden" name="userid" /> <input type="hidden" name="postedbyid" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input class="bginput" type="text" name="title" size="45" maxlength="80" /><br /> <input class="bginput" type="text" name="comment" size="45" maxlength="80" /><br /> <input type="submit" class="button" value="Submit" accesskey="s" /> </form> |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|