Ok to make it simplier, this is what I wanna do! <?php
echo "<a href=logout();>Logout</A>"; function logout() { ..... } ?> How do I do it!!! /M > Hi > I want to call a function logout() inside an <a href> statement: > > <a href=\"<?= logout() ?>\">logout</a> > > <?php > function logout() > { > .... > } > ?> > > but this doesnt work.. how shall I do it > /M > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php