Help with textarea in htmli 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
|
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 ;";
$queries[] = "ALTER TABLE `".TABLE_PREFIX."users` ADD `money` INT( 10 ) NOT NULL DEFAULT '150' AFTER `postnum`;";
$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` )
);";
$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` )
);";
foreach($queries as $query) {
$db->query($query);
}
|
same problem.
|
|
14/11/2007 12:48 PM |
|
ZiNgA BuRgA
Smart Alternative
Posts: 17,022.2988 Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
|
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 |
|
Pirata Nervo
NervOS Developer
Posts: 699.4765 Threads: 39
Joined: 20th Jun 2007
Reputation: -0.79225
E-Pigs: 19.2466
|
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 |
|
User(s) browsing this thread: 1 Guest(s)