Page 1 of 1

simple code (look at it and tell me whats wrong)

Posted: Thu Dec 04, 2003 3:10 pm
by grudz

Code: Select all

<input name="question_title" type="text" class="txtbox" id="question_title" value="<?php echo $row_forum&#1111;'question_title']; ?>">
why isnt my "question_title" record showing in the text box ?

if i "echo" it higher up on the same .php page, it shows, but in that text box, it doesnt.

Posted: Thu Dec 04, 2003 3:16 pm
by Linkjames
The only thing I could guess would be an array problem. Try setting the array to a new variable then putting that in your text box.

Code: Select all

<?php
$questiontitle = $row_forum['question_title'];
?>
<input name="question_title" type="text" class="txtbox" id="question_title" value="<?php echo $questiontitle; ?>">

Posted: Thu Dec 04, 2003 3:24 pm
by grudz
works.....thanx......