> How do I move the content of $tastes to X of
>         echo "<textarea rows="5" cols="28" readonly name=X>\n";


- with simple quotes (better!):
echo '<textarea rows="5" cols="28" readonly name="'.$tastes.'">';


- on the contrary, you will need a backslash in doublequotes:
echo "<textarea rows=\"5\" cols=\"28\" readonly name=\"$tastes\">";


- also, you can close php brackets before and after putting the php
code inside:

<?

// I break here:
?>
<textarea rows="5" cols="28" readonly name="<? echo $tastes; ?>">
<?
// ...continue

?>

best regards,



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to