Jump to content

Archived

This topic is now archived and is closed to further replies.

Andrew R

Popup script inside php echo?

Recommended Posts

How I get the follow popup script into an echo inside php? 

[code]<a href="#" onClick="MM_openBrWindow('info.php?flight_id=<?php echo $row_flights['flight_id']; ?>&adults=<? echo $adults ?>&children=<? echo $children ?>','','scrollbars=yes,width=442,height=300')">book</a>[/code]
Into

[code]echo ' ';[/code]


Cheers

Share this post


Link to post
Share on other sites
[code]<?php
echo '<a href="#" onClick="MM_openBrWindow(\'info.php?flight_id='.$row_flights['flight_id'].'&adults='.$adults.'&children='.$children.'\',\'\',\'scrollbars=yes,width=442,height=300\')">book</a>';
?>[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.