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: #1
Help with textarea in html
can someone help me with it please?

everything is ok and its working perfectly, im just trying to add breakline in the textarea but i don't know how.
this is my php code to update the table:

PHP Code:
$this->db->query("UPDATE ".TABLE_PREFIX."users SET items='".$this->mybb->user['items']."'
'".$this->db->escape_string($itemarray['name'])."',
money=money-".intval($itemarray['price'])." WHERE uid='".intval($this->mybb->user['uid'])."'");


between this '".$this»mybb»user['items']."' and '".$this»db»escape_string($itemarray['name'])."' must be something and <br> won't work as its a textarea... can someone help me please?


(This post was last modified: 10/11/2007 03:03 PM by Pirata Nervo.)
10/11/2007 03:02 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

Forum Jump:


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

 Quick Theme: