Dear Friends,

<a href="javascript:void(0)" onclick="javascript:chatWith('babydoe')">Chat With Baby Doe</a>

Please convert this into regular php expression please.

Thanks in advance

Recommended Answers

What exactly do you want grep'd ?

Jump to Post

You want this ?

echo "<a href='javascript:void(0)' onclick=\"javascript:chatWith('babydoe')\">Chat With Baby Doe</a>";
Jump to Post

All 5 Replies

<a href="javascript:void(0)" onclick="javascript:chatWith('babydoe')">Chat With Baby Doe</a>

When i'm making with this in php see ..

echo "<a href='javascript:void(0)' onclick='javascript:chatWith('babydoe')'>Chat With Baby Doe</a>";

what will put the chatWith('babydoe') i want to know. when i was putting chatWith(."babydoe".) its roughing an error, Please help me

You want this ?

echo "<a href='javascript:void(0)' onclick=\"javascript:chatWith('babydoe')\">Chat With Baby Doe</a>";
commented: yah it 's really helped man, Thnz +1

Thanks bro, its worked !

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.