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: #15
RE: Help with textarea in html
maybe because you don't know what i want to do lol.

also, im not using that anymore, but damn it's not working with TEXT instead of VARCHAR.

New code:

PHP Code:
1
2
3
4
5
6
$items_array = array (
	"items" => "'".intval($mybb->mybb->user['items'])."' \n\n '".$this->db->escape_string($itemarray['name'])."' \n '".$this->db->escape_string($itemarray['download'])"'",
	"money" => "'".intval($mybb->mybb->user['money'])."'-'".intval($itemarray['price'])"'",
);
$where_items = "uid='".intval($this->mybb->user['uid'])."'";
$db->update_query(TABLE_PREFIX."users", $items_array, $where_items);


i get this error from mysql:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /www/freeweb7.com/p/e/r/perfectpredicament/htdocs/forums/inc/class_shop.php on line 109

(the line 109 and 110 is the
"items" => "'".intval($mybb»mybb»user['items'])."' \n\n '".$this»db»escape_string($itemarray['name'])."' \n '".$this»db»escape_string($itemarray['download'])"'",

	
"money" => "'".intval($mybb»mybb»user['money'])."'-'".intval($itemarray['price'])"'",

(This post was last modified: 13/11/2007 04:34 AM by Pirata Nervo.)
13/11/2007 04:34 AM
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 - 13/11/2007 04:34 AM

Forum Jump:


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

 Quick Theme: