Hi, Iam a beginner & still in the process of learning PHP. Iam not able to embed ahref with php mysql database commands. I used echo " <a href="$row['url']">$row['title']</a>" but it's showing an error. Pls help! Daniah
Me still getting this error commandos Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/lif/public_html/dir/xxx.php on line 43
Use Like <?php $url = $row["url"]; ?> <a href="http://<?=$url?>" target='_blank'><?=$row["title"]?></a> PHP: Also be sure that you call the right table from database before use this.