You couldnt make the PHP do this for you, this would have to be executed server side. Try replacing the <a href=..... with an <a onclick=...., here is an example;
PHP Code:
<?php
echo "<a onclick='window.open(\"$PHP_SELF?Y=$cal_year&m=$cal_month&d=$cal_day&do=show_event&key=".$red_data["event_key"]."&ox_tail&evt_date=".urlencode($date_str)."&evt_title=".urlencode($red_data['event_title'])."\",\"\",\"width=500,height=500,status=no,toolbar=no\");'>";
?>
__________________
Theres 10 types of people; those who understand binary, and those who don't.
webmaster and webdeveloper resources, Please login or register to view this content. Registration is FREE
Last edited by webwoRRks; 08-08-2004 at 01:45 PM..
Reason: typo (again)
|