Re: ActivePHP behavior

From: Date: Mon, 10 Jun 2002 17:08:42 +0000
Subject: Re: ActivePHP behavior
Groups: php.dev 
Request: Send a blank email to php-dev+get-85091@lists.php.net to get a copy of this message
I don't think this is the proper forum for this question. This list is for those interested in the development of PHP itself, not simply PHP development. That said, I think that's an html problem: you may have forgotten to close off your "<a>" anchor tag with "</a>". You should also provide some text inside the tags for browsers to show anything at all. Also, your ActivePHP code should still read: $document->write("<a href='Javascript:kkk();'>"); if you want to call a javascript function. 6/11/02 12:19:46 AM, "moshe doron" <mosdoron@netvision.net.il> wrote: > >Hi All >since Wez on vacation(?) i'm asking u all hopefully someone already sniffed >around ActivePHP. > >i'm searching for the equivalent code for that JavaScript: > ><pre> >// this code print link that click on it call js function >function kkk(){ > //Do some code >} >document.write("<a href='Javascript:kkk();'>"); > ></pre> > > > >that code doesn't work: > ><pre> >// this code print link that click on it do nothing >function kkk(){ > //Do some code >} ></pre> >$document->write("<a href='ActivePHP:kkk();'>"); > > >---- >moshe doron<mosdoron@netvision.net.il> > > > > > > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.dev (#85091) next »