hallo
$sql[] = "create table `phpbb_bank` (`id` INT UNSIGNED NOT NULL AUTO_INCREMENT, `name` CHAR (50) NOT NULL, `holding` INT (20) UNSIGNED DEFAULT '0', `totalwithdrew` INT (20) UNSIGNED DEFAULT '0', `totaldeposit` INT (20) UNSIGNED DEFAULT '0', `opentime` INT (20) UNSIGNED NOT NULL, `fees` CHAR (32) NOT NULL DEFAULT 'on', PRIMARY KEY(`id`), INDEX(`name`))";
kan iemand me hier de sql uit halen
ik kom steeds vast te zitten bij mun pre-mod 2
Alvast bedankt
Sql ergens uit halen
Forumregels
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.

-
- Berichten: 521
- Lid geworden op: 29 jan 2004, 22:41
- Contacteer:
CREATE TABLE `phpbb_bank` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`name` CHAR (50) NOT NULL,
`holding` INT (20) UNSIGNED DEFAULT '0',
`totalwithdrew` INT (20) UNSIGNED DEFAULT '0',
`totaldeposit` INT (20) UNSIGNED DEFAULT '0',
`opentime` INT (20) UNSIGNED NOT NULL,
`fees` CHAR (32) NOT NULL DEFAULT 'on',
PRIMARY KEY(`id`),
INDEX(`name`))";
Zo iets?
(heb niet echt veel vstand van sql
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`name` CHAR (50) NOT NULL,
`holding` INT (20) UNSIGNED DEFAULT '0',
`totalwithdrew` INT (20) UNSIGNED DEFAULT '0',
`totaldeposit` INT (20) UNSIGNED DEFAULT '0',
`opentime` INT (20) UNSIGNED NOT NULL,
`fees` CHAR (32) NOT NULL DEFAULT 'on',
PRIMARY KEY(`id`),
INDEX(`name`))";
Zo iets?
(heb niet echt veel vstand van sql
-
- Berichten: 521
- Lid geworden op: 29 jan 2004, 22:41
- Contacteer:
hmm
bedankt
ik zat vast met dat id
thnaks !!!
:thumb:
CREATE TABLE phpbb_bank (
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
name CHAR (50) NOT NULL,
holding INT (20) UNSIGNED DEFAULT '0',
totalwithdrew INT (20) UNSIGNED DEFAULT '0',
totaldeposit INT (20) UNSIGNED DEFAULT '0',
opentime INT (20) UNSIGNED NOT NULL,
fees CHAR (32) NOT NULL DEFAULT 'on',
PRIMARY KEY(`id`),
INDEX(`name`)
);
bedankt
ik zat vast met dat id
thnaks !!!

CREATE TABLE phpbb_bank (
id INT UNSIGNED NOT NULL AUTO_INCREMENT,
name CHAR (50) NOT NULL,
holding INT (20) UNSIGNED DEFAULT '0',
totalwithdrew INT (20) UNSIGNED DEFAULT '0',
totaldeposit INT (20) UNSIGNED DEFAULT '0',
opentime INT (20) UNSIGNED NOT NULL,
fees CHAR (32) NOT NULL DEFAULT 'on',
PRIMARY KEY(`id`),
INDEX(`name`)
);
Tip: als je snel een query wilt krijgen uit een stuk code in phpBB moet je hem gewoon laten afdrukken op je scherm, zonder hem uit te voeren. Je plaatst dan dus iets als
onder de query(s), net boven de mysql opdracht. Je kan hem dan gewoon van je scherm copiëeren, inclusief de geplaatste variabelen.
Code: Selecteer alles
echo '<pre>';
print_r($sql);
echo '</pre>';
exit;