Endless Paradigm

Full Version: Help with textarea in html
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
i just changed to:

PHP Code:
$queries[] = "ALTER TABLE `".TABLE_PREFIX."users` ADD `items` TEXT NOT NULL ;";
	
// Alter Users Table
$queries[] = "ALTER TABLE `".TABLE_PREFIX."users` ADD `money` INT( 10 ) NOT NULL DEFAULT '150' AFTER `postnum`;";
	
// Create Shop table
$queries[] = "CREATE TABLE `".TABLE_PREFIX."shop` (
`iid` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`name` VARCHAR( 120 ) NOT NULL ,
`price` INT( 10 ) NOT NULL ,
`description` TEXT NOT NULL ,
`download` TEXT NOT NULL ,
`shop` VARCHAR( 120 ) NOT NULL ,
PRIMARY KEY ( `iid` )
);";

// Create Shops Table
$queries[] = "CREATE TABLE `".TABLE_PREFIX."shops` (
`sid` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
`shop` VARCHAR( 50 ) NOT NULL ,
`shop_templatename` VARCHAR( 255 ) NOT NULL ,
`shop_desc` TEXT NOT NULL ,
PRIMARY KEY ( `sid` )
);";

// Identify The Queries
foreach($queries as $query) {
	$db->query($query);
}


same problem.

If you're asking questions, it'd be nice to make things clear.

I can't guess what your problem is...

Also, to make things easier:
1) Post the entire file
2) Post _exactly_ what you want.

Thanks.
ok i will post when i have time, i hve been too much busy.
Pages: 1 2 3
Reference URL's