![]() |
Thanks for the help. I have no clue what I'm doing wrong though lol.
Edit : decided to give up on it. Spent 3 days reading through the Reference Manuals for both MySQL and PHP and still get these errors. |
Ok, this is really pissing me off. Here's my code.
Code:
<?php Edit : feel free to AIM me at thumbsup2mrcoffe to help me, or MSN at thumbsup@gfxhaven.com |
First of all, you should specify a default action:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
As already stated above, you must always quote strings from a form or URL, as otherwise this will be a high security risk: PHP Code:
PHP Code:
As a last thing, your script is missing print_cp_footer(); Here is the whole script (topxadmin.php in admincp directory): PHP Code:
[sql] CREATE TABLE `topx_admin` ( `topx_adminid` int(10) unsigned NOT NULL auto_increment, `excludedforums` varchar(255) NOT NULL default '', PRIMARY KEY (`topx_adminid`) ) TYPE=MyISAM AUTO_INCREMENT; [/sql] |
I can't get my table to work with the MyISAM AUTO_INCREMENT, and I get this error still lol.
Code:
Database error in vBulletin 3.0.3: |
All times are GMT. The time now is 02:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|