1. Computing

Discuss in my forum

GoTo

By , About.com Guide

Definition: You can use GoTo to skip over a section of code and go to the specified location. This only became available in PHP 5.3 so if it does not work for you, please check your PHP version. As this is not a function you don't need parenthesis ().
Also Known As: Go To
Examples:
<?php 
 goto a;
 echo 'Hello';
 
 a:
 echo 'Goodbye';
 ?>
This would only output Goodbye.
See More About
Related Video
Basic PHP Syntax
Using PHP With HTML
Top Related Searches php version php 5 lt
  1. About.com
  2. Computing
  3. PHP / MySQL
  4. PHP Functions
  5. PHP Go To - PHP Goto Control Structure

©2013 About.com. All rights reserved.