[thelist] php in javascript

Maximillian Schwanekamp lists at neptunewebworks.com
Fri Nov 12 18:18:25 CST 2004


Jay Fitzgerald wrote:
> Does anyone know why this isnt carrying my $id to the next page?
> 
> window.open('video.php?id=<?php echo $id; ?>')

What do you see in the output to the browser?  Is there a URL to look 
the page in question?  If not, is this line appearing a file that is 
indeed being parsed as PHP by the server?  E.g. .js files are not 
normally parsed as PHP, though that can easily be corrected.

-- 
Maximillian Von Schwanekamp
Dynamic Websites and E-Commerce
NeptuneWebworks.com <http://www.neptunewebworks.com/>
voice: 541-302-1438
fax: 208-730-6504



More information about the thelist mailing list