Post Reply 
Help with textarea in html
i must know how to
Author Message
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #21
RE: Help with textarea in html
i just changed to:

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$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.


14/11/2007 12:48 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Help with textarea in html - Pirata Nervo - 10/11/2007, 03:02 PM
RE: Help with textarea in html - Anger - 10/11/2007, 04:35 PM
RE: Help with textarea in html - diego - 10/11/2007, 04:47 PM
RE: Help with textarea in html - Anger - 10/11/2007, 07:21 PM
RE: Help with textarea in html - Anger - 11/11/2007, 05:56 AM
RE: Help with textarea in html - Pirata Nervo - 14/11/2007 12:48 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: