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
ZiNgA BuRgA
Smart Alternative

Posts: 17,023.4213
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.0333
Offline
Post: #22
RE: Help with textarea in html
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.
15/11/2007 04:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Pirata Nervo
NervOS Developer

Posts: 699.4765
Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
Offline
Post: #23
RE: Help with textarea in html
ok i will post when i have time, i hve been too much busy.

17/11/2007 04:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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

 Quick Theme: