Mike, you have a conflict with your different quote-styles, have a look at
the source code when you output that and you will see what i mean, you need
to do something like this;

echo "<td ALIGN=\"CENTER\"><a
href=\"javascript:launchwin('$row[5].htm','newwindow','height=480,width=640'
);\">".$format."</a></td></tr>";

HTH

Beau

// -----Original Message-----
// From: Mike [mailto:[EMAIL PROTECTED]]
// Sent: Monday, 11 February 2002 11:39 AM
// To: [EMAIL PROTECTED]
// Subject: [PHP-DB] javascipt window
// 
// 
// I am wondering why the following will not launch a window 
// using javascript.
// I have tried escaping the Html  at various points with no success:
// 
// echo "<td ALIGN='CENTER'><a
// href='javascript:launchwin('$row[5].htm','newwindow','height=
// 480,width=640')
// '>.$format."</a></td></tr>";
// 
// the href works fine when I am linking to a normal page.
// Thanks for any help.
// --
// Mike
// 
// 
// 
// -- 
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, visit: http://www.php.net/unsub.php
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to