functions and <a href>
| From: | Martin Johansson | Date: | Mon, 03 Mar 2003 22:18:36 +0000 |
| Subject: | functions and <a href> | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137973@lists.php.net to get a copy of this message | ||
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