Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

POP UP WITH PHP FUNCTION

<?php
// PHP program to pop an alert
// message box on the screen
  
// Function definition
function function_alert($message) {
      
    // Display the alert box 
    echo "<script>alert('$message');</script>";
}
  
  
// Function call
function_alert("Welcome to Geeks for Geeks");
  
?>
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #POP #UP #WITH #PHP #FUNCTION
ADD COMMENT
Topic
Name
1+9 =