Quotation mark in php
Posted: Sat Mar 12, 2011 12:30 pm
Hi,
I need to write the following line in php:
but I need to replace the name "Jane Doe" with names selected from my database.
here I need 3rd type of quotation mark !!!
Please someone tell me how to fix this.
Thanks.
I need to write the following line in php:
Code: Select all
<a href="javascrip:void(0)" onclick="javascript:chatWith('janedoe')">Chat With Jane Doe</a>Code: Select all
echo "<a href='javascript:void(0)' onclick='javascript:chatWith("" . $nm . "")'>" .$nm. "</a>";Please someone tell me how to fix this.
Thanks.