answersLogoWhite

0

type this in a file save it as something.php and then run it

<?php

echo '*';

?>

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Astronomy

How do you retrieve an image from a database using PHP?

It depends what Database you are using. I personally use MySQL so will explain how you would do it using MySQL. You would have to create the MySQL database. I would store the image URL rather than the actual image. Then call it using PHP and a MySQL query. For Example: $sql = "SELECT * FROM Images WHERE Img_Name = 'img1'"; $query = mysql_query($sql); $array = mysql_fetch_array(query); then you would call it into HTML like so:


Which cell is the energy output of a star?

The energy output of a star comes from its core, where nuclear fusion reactions take place. During fusion, hydrogen atoms combine to form helium, releasing a tremendous amount of energy in the process.


Is an orange star hotter then a yellow star?

The temperature of a yellow star's photo sphere is hotter than that of and orange star. However the total energy output of an orange star may be greater than that of a yellow star.


How do you save image url in database by using php?

To save an image URL in a database using PHP, you can create a table with a column to store the URL. When inserting data, you can use SQL queries with PHP to insert the URL into the database. Make sure to properly sanitize and validate the input to prevent SQL injection or other security vulnerabilities.


What is the temperature of core of a star?

The temperature of the core of a star can reach millions of degrees Kelvin due to nuclear fusion reactions that generate immense heat and light. This intense heat and pressure in the core are what sustain a star's energy output.

Related Questions

How do you preview PHP source output?

The only true form of previewing PHP source output is to run the PHP script in question.


How can you embed a Java program in PHP webpage?

In the output stream (i.e. using echo), output an "embed" tag (or if using older HTML, the "applet" tag). Note that the Java will run on the client, not on the server, meaning that PHP variables, etc, will not be available to it.


Why does PHP output number 1 when its not called for?

in PHP true is 1 too.


How do you embed PHP code in C code?

PHP and C are two different programming languages that cannot directly interact with eachother. You can have a program made with C call a PHP script, using its output (an indirect interaction), but there's no way to "embed" PHP into C code.


In PHP the only way to output text is with echo.?

1


Where does PHP used?

PHP is a Server side scripting language used for web development.The programs in php will be run on the server and only the output is sent to the internet browser.


How do you use Zlib output compression on select files in PHP?

I also post it at: http://php.webmasterfund.com/devarchived/532/198532-zlib-output-compression-on-select-files.html Is there a way to disable zlib output compression on select files? The problem I am having is IE won't load my css files when I turn on zlib.output_compression (since I'm using php to dynamically create them). What could I do to make php only compress .php files and leave the .css ones alone? thanks Post here or post at php.webmasterfund.com, don't email. If you feel you have to mail, revert my....


Does android supports PHP?

It supports websites made on php but not coding in php. There are workarounds for coding in PHP using Android.


How can you run PHP files?

Use the 'include()' in your pages. Eg. include(link.php); ?&gt; Normally PHP files are meant to be run through a web server which serves on a browser. What is outputted is the HTML of the page along with any information that is generated by php depending on the code inside the page. If you would like to run the PHP code from the command line you can using the php executable. If you are on a windows machine you can do the following: c:\php&gt;php c:\websites\webroot\filename.php This will output the HTML that the PHP generates after being parse by PHP. You can also do this on Linux as follows: $-&gt;php /path/to/file.php


How do you get round value in php?

use the round function. For eg: &lt;?php $value1 = 15.55; echo round($value1, 0); // Will output 16 $value2 = 20.666666666; echo round($value2, 2); // Will output 20.67 ?&gt;


Why can't you run PHP from the command line?

There is no problems with running php from the command line be it unix or windows. However the output of the command will be to stdout in the form of HTML text output. This HTML output is infact what is displayed with formatting and graphics by a web browser. In addition php run by the webbrowser and from the command line maybe at different user privileges and display differently.


How can I find the biggest integer my computer can handle using PHP?

You may use the following code to see how far you can push your computer via storing integers; the biggest integer allowed in PHP actually depends on the system PHP is running on, and how big of an integer it allows in its memory. It's advised that, if you really want to do this, that you turn off PHP output limiting, so then you don't get an exhaustion error. &lt;?php for ($i = 0; TRUE; $i++) { echo $i; } ?&gt;