0

before i have a code for this

echo ('<div class="content" style="width: 293px; float: left;">
        <b>Host: </b> '.(isset($replay->game['creator']) ? $replay->game['creator'] : "n/a").' 
    </div>

and then i will input a creator in my form

echo"<form>
<textarea name='BBCode' style='width:592px; height:120px;' >[B]Host : [/B] (how toinsert creator in this area)  </textarea><br>
<input type='button' onclick='javascript:this.form.BBCode.focus();this.form.BBCode.select();' value='Select All'>
</form>";

someone can help me?

2
Contributors
2
Replies
10
Views
3 Years
Discussion Span
Last Post by sgdesain
1

Did you try flipping your double quotes and single quotes in your second snippet?

For example:
echo '<form><textarea name="BBCode" style="width:592px; height:120px;" > ...

Edited by maryjane9110024

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.