I have a members name in one database...
I want to retrieve some data from another database and display it in
an HTML textarea or table with the username from the other database.
I have the following variables (I can do the sql stuff to get the
records)
(database 1) <?php echo $row_membrdb['username']; ?> = John
(database 2) <?php echo $row_addata['firstad']; ?> = <a href="http://
www.domain.com/<?php echo $row_membrdb['username']; ?>/">http://
www.domain.com/<?php echo $row_membrdb['username']; ?>/</a>
If I do this in my HTML it works as desired as far as how it's
displayed
<textarea>
Go to the following url for more information
<a href="http://www.domain.com/<?php echo $row_membrdb['username']; ?
Thank you
</textarea>
would display correctly in a text box.
Example 1.1
_____________________________________
Go to the following url for more information
http://www.domain.com/john/
Thank you
_____________________________________
I want to achieve the same result is as follows
<textarea>
<?php echo $row_addata['firstad']; ?>
</textarea>
I want it to display like Example 1.1
http://www.domain.com/john/
but I get this in the text area.
Example 1.2
_____________________________________
Go to the following url for more information
<a href="http://www.domain.com/<?php echo $row_membrdb['username']; ?
Thank you
_____________________________________
Any idea how to get 1.2 to look like 1.1?