



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Note that there's more than one way to configure Apache and PHP, but this is possibly the quickest method. Step 1: Download the PHP files. ... Step 2: Extract the files. ... Step 3: Configure php. ... Step 4: Add C:\php to the PATH environment variable. ... Step 5: Configure PHP as an Apache module. ... Step 6: Test a PHP file.
Object NULL Resource PHP String A string is a sequence of characters, like "Hello world!". A string can be any text inside quotes. You can use single or double quotes: Example
"; echo $y; ?> PHP Array An array stores multiple values in one single variable. In the following example $cars is an array. The PHP var_dump() function returns the data type and value: ExamplewriteMsg(); // call the function ?>
false. Syntax if (condition) { code to be executed if condition is true; } else { code to be executed if condition is false; }