answersLogoWhite

0

There are various ways of doing it. Here are a few examples:

printf("Hello world!");

echo "Hello world!";

print "Hello world!";

If you are looking to offer a pop-up message (a separate window with a button that the user must click to acknowledge), you would have to do it with Javascript instead.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you Display The Error Messages in PHP?

To display your own defined error message in php simply echo error message. To see errro message while query execution simply do mysql_error(); Or so enable syntax error and warnings use error_reporting(1) in the beggining of script.


How do you create an area of a webpage to display PHP results?

PHP code blocks start with <?php and end with ?>.


How do you display PowerPoint Presentations using PHP?

PHP is not capable of displaying PowerPoint Presentations without another language that does support the display of PowerPoint presentations.Alternatively, you may turn the PowerPoint into a video and print another language capable of displaying videos using PHP.


How can you use PHP with Flex 3.0?

Working with PHP & Flex requires more guidance than we can give here. I would check out their tutorials. wikidocs.adobe.com/wiki/display/Flex/Flex+and+PHP


How do you run a PHP script?

You run a PHP code using the following code.The code above will display the text Hello world in a HTML document.


What is the default error handling in PHP?

The default error handling in PHP is simply an error message with a filename, line number, and a small message describing the error. This information however, can be invaluable to increasing the security potential of a website or business.


How do you send out emails using javascript?

You cannot, you need PHP Here is what I came up with, for you: <?php $to = 'nobody@example.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers);


How to display a variable in PHP using echo or print statements?

displaying a variable in php using echo statement? <?php $name="ram"; //declaring and defining the variable echo "$name"; //printing the variable using echo command ?>


In PHP how to send data to email?

mail($to, $subject, $message, $headers); $headers is optional.


How do you fetch results in a column wise display using PHP and MySQL?

Hi, Use mysql_fetch_array($arrayname);


In PHP using localhost sending mail process coding?

mail(to,subject,message,headers);


Generate a php script that will display the grade on the basis of marks?

The following PHP function is an example of how you could achieve this: You would then call the function as follows: where *MARK* is the mark I hope this has helped, Cpl.Vadera