Hi all, I am using dreamweaver and deploying urls from database, however I want they to be <a href=" dyanamic url"> dynamic url</a> with dreamweaver the code appears like this: <p><?php echo $row_Recordset1['url']; ?></p> the $row_Recordset1['url']; is the dynamic url from databse, how do I make them as href??? for example <a href=" url1"> url1</a>
You can use exactly what you have above. <p><a href="<?php echo $row_Recordset1['url']; ?>"><?php echo $row_Recordset1['url']; ?></a></p> PHP: If you are doing this from a database result set (i.,e more than one row) you just need to loop over the results using the same syntax. You might want to actually look into giving it a title="" tag and proper anchor text however.