Andrew R Posted October 10, 2006 Share Posted October 10, 2006 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 Link to comment https://forums.phpfreaks.com/topic/23549-popup-script-inside-php-echo/ Share on other sites More sharing options...
shiny_spoon Posted October 10, 2006 Share Posted October 10, 2006 [code]<?phpecho '<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] Link to comment https://forums.phpfreaks.com/topic/23549-popup-script-inside-php-echo/#findComment-106871 Share on other sites More sharing options...
Andrew R Posted October 10, 2006 Author Share Posted October 10, 2006 Cheers shiny_spoon ;D Link to comment https://forums.phpfreaks.com/topic/23549-popup-script-inside-php-echo/#findComment-106876 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.