As:comp.lang.javascript

From: FartFace (boomboom_at_dog.net)
Date: 01/24/05


Date: Sun, 23 Jan 2005 23:26:16 -0000

Hi-I'm stuck again can anyone help me out here.
I'm trying to open a frame less window (popup) from within a PHP script
this is what it looks like before I had a play :((

$link = "<a
href=\"news.php?renew=0&mid=".$message_info->tp_message_id."&sign=".$sign."\
">";

My try:(

$link = '<a href="news.php?renew=0&mid="'.$message_info-onClick="javascript:
window.open('http://"news.php?renew=0&mid="'.$message_info-','rad','width=25
0,height=285,top=200,left=300,screenX=200,screenY=300,scrollbars=no,resizabl
e=no');return false;" target="_self">tp_message_id.'&sign='.$sign.'>';

With my try the whole thing goes to pot.

Parse error: parse error, unexpected '=' in
/home/site/public_html/news/web/show_header.php on line 450

Regards
Chris



Relevant Pages

  • Re: PHP/Wiindows Desktop Popup
    ... > Does anybody know if it's possible with a PHP script, ... > systray tooltip, ... > a small popup window above the systray to notify of a new email. ...
    (alt.php)
  • Re: As:comp.lang.javascript
    ... > I'm trying to open a frame less window (popup) from within a PHP script ... you break string and try to assign values to a ...
    (alt.php)
  • Re: timer in php script
    ... > do is, every 5 minutes, I want a php script to execute that searches my ... > database and popup a small window if the search conditions are met. ... DeeDee, don't press that button! ...
    (comp.lang.php)
  • Scripting error
    ... I have a simple html form built that a user puts name, company, ... you know - and it dumps it all in a db I created ... Parse error: ... What am I missing in my php script? ...
    (comp.lang.php)
  • Parse error on file using PHP 4.3.10
    ... My hosting service uses PHP 4.3.10 and when I run a php script which works ... perfectly on my local lan linux server on my hosting service I get this ... Parse error: parse error, unexpected T_STRING, expecting ')' in ...
    (comp.lang.php)