Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> WYSIWYG - Raven's RavenNuke(tm) v2.x Distro
Author Message
guidyy
Worker
Worker


Joined: Nov 22, 2004
Posts: 208
Location: Italy

PostPosted: Sun Feb 26, 2006 3:54 am Reply with quote

Ok i have this piece fo code
Code:


echo "<textarea name=\"val[".$field_type_id."][$occur]\" rows=\"$hight\" cols=\"$width\">".$val[$field_type_id][$occur]."</textarea>";
                           


I changed to
Code:


echo wysiwyg_textarea("val[".$field_type_id."][$occur]", ".$val[$field_type_id][$occur].", "NukeUser", "$hight", "$width");



Instead of the text i'd be supposed to edit i got
.Array[1].

Now i'm pretty much a dumbass in PHP.. what's wrong with it?
Guido
 
View user's profile Send private message Visit poster's website MSN Messenger
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Sun Feb 26, 2006 8:58 am Reply with quote

Just remove the echo part of the wysiwyg_textarea statement.

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
guidyy
PostPosted: Sun Feb 26, 2006 11:19 am Reply with quote

Not enough!

Code:


wysiwyg_textarea("val[".$field_type_id."][$occur]", $val[$field_type_id][$occur], "NukeUser", "$hight", "$width");



This worked!
Guido
 
kguske
PostPosted: Sun Feb 26, 2006 11:22 am Reply with quote

Strange...that looks exactly what I suggested and what is included in the readme. I am happy you figured it out, though.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> WYSIWYG - Raven's RavenNuke(tm) v2.x Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©