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

All 5 Replies

What exactly do you want grep'd ?

<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 !

Please consider to mark this thread solved.

Be a part of the DaniWeb community

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