hi! What im basically asking is, how may I add multiple attribute data to a textfield. I can output mysql data back into a text box but i cannot output multiple data.
$sql = "SELECT userName, msgContent, msgTime, msgDate FROM message";
$result = mysql_query($sql)
or die("Couldn't execute query.".mysql_error());;
then spit this back into ONE multilined text field with possible format.
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
echo 'username:'.$row['userName'].' ';
echo 'time:'.$row['msgTime'].' ';
echo 'date:'.$row['msgDate'].' ';
echo 'msg:'.$row['msgContent'].' ';
}
above is how id normally display multiple data attributes, but how may I display this in a text field not within a table or as basic html output.
thanks for any replys!