Your Ad Here

New Post/Thread Notification: PHP Forum

Hello,

welcomewiki has just posted in the PHP Forum forum of Wiki Newforum under the title of PHP Syntax.

This thread is located at http://www.wikinewforum.com/showthread.php?t=5851

Here is the message that has just been posted:
***************
PHP code is executed on the server, and the plain HTML result is sent to the browser.


*Basic PHP Syntax*

A PHP scripting block always starts with *<?php* and ends with *?>*. A PHP scripting block can be placed anywhere in the document.
On servers with shorthand support enabled you can start a scripting block with <? and end with ?>.


For maximum compatibility, we recommend that you use the standard form (<?php) rather than the shorthand form.


<?php ?>

A PHP file normally contains HTML tags, just like an HTML file, and some PHP scripting code.


Below, we have an example of a simple PHP script which sends the text "Hello World" to the browser:


<html>
<body> <?php
echo "Hello World";
?> </body>
</html>

Each code line in PHP must end with a semicolon. The semicolon is a separator and is used to distinguish one set of instructions from another.
There are two basic statements to output text with PHP: *echo* and * print*. In the example above we have used the echo statement to output the text "Hello World".


*Note:* The file must have the .php extension. If the file has a .html extension, the PHP code will not be executed.


*Comments in PHP*

In PHP, we use // to make a single-line comment or /* and */ to make a large comment block.
<html>
<body> <?php //This is a comment /*
This is
a comment
block
*/ ?> </body>
</html>
***************

Your Ad Here

FREE TRAINING By World's No.1 Site Wikipedia

Hi

Here the SAP HR Real Blue Print: http://www.wikinewforum.com/showthread.php?t=1410


Join us World's Best FREE SAP HR Training @ www.wikinewforum.com


Online Training (Any time you can log-in)

FREE SAP HR TRAINING

WITH REAL TIME SCREEN SHOTS

By World's No.1 Site Wikipedia



Duration: 40 Days Venue: Wikipedia Website

Timings: Any time you can open and can take training

Support: Any time 24/7

We called as Special training because:

  • Real Time Employees will teach & answers your queries
  • Real Time Scenarios
  • Real Time System screen shots step by step configuration
  • Post training support like Resume & Interview tips with exact requirement, we provide top companies HR email ID's and every day vacancy list.

Special Topics apart from general topics:

  • We teach special topics like following where no any dare to reach
  • Payroll & Time Schema's
  • Payroll & Time PCR's (Personal Calculation Rules)
  • Rates of Pay
  • Factoring/Pro-ration
  • Wage type Valuation
  • Time Quota's & Time Types
  • Time Evaluation
  • Absence Valuation
  • Integration wit FICO & other Modules
  • And more and more....list will not stop
  • Totally End-to-End implementation Process

Visit our Website

www.wikinewforum.com

Free Demo

http://www.wikinewforum.com/showthread.php?p=10222#post10222

Reach us

info@wikinewforum.com

Presented

World No. 1 Site - Wikipedia

Our Aim is to provide FREE SAP Training, hope you join.