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: #17
RE: Help with textarea in html
thanks, no errors on that lines now, but this is how it should be: (the $this isn't the $db object)

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


error on line 114 ($db»update_query(TABLE_PREFIX."users", $items_array, $where_items); )
Fatal error: Call to a member function update_query() on a non-object in /www/freeweb7.com/p/e/r/perfectpredicament/htdocs/forums/inc/class_shop.php on line 114


13/11/2007 04:59 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:59 AM

Forum Jump:


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

 Quick Theme: