Jump to content

Whats wrong with this


deansaddigh

Recommended Posts

ive changed it to this

echo '<textarea  name="question" value="'.$row['question'].'"></textarea>';

 

its just not displaying anything in the text area.

full code is

 

<?php 

			 $query = "SELECT * FROM faq WHERE faq_id =$id";
				$result = mysql_query($query, $conn) 
					or die('Error, query failed');		
			   while($row= mysql_fetch_array($result))
			   {
			  	 echo '<input type="text" SIZE="50" name="question" value="'.$row['question'].'"/>';
				echo '<textarea  name="question" value="'.$row['question'].'"></textarea>';

			   }
			   
			   ?> 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.