|
|
|
| Title : |
Using the Return() function to return multiple variables. |
| Categories : |
PHP |
 Boaz Yahav |
| Date : |
Apr 11th 1998 |
| Grade : |
3 of 5 (graded 4 times) |
| Viewed : |
32954 |
| File : |
No file for this code example. |
| Images : |
No Images for this code example. |
|
| Search : |
More code by Boaz Yahav |
|
| Action : |
Grade This Code Example
|
|
| Tools : |
My Examples List |
|
|
|
|
|
|
<?
function foo($x,$y) {
$a = $x+$y;
$b = $x-$y;
return array($a,$b);
}
list($sum,$sub) = foo(5,2);
?> |
|
| Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP, PHP, HTML, PDF, Excel | | | File Explorer, browse, upload, download and edit your web site files with only a browser and a HTTP connection. Categories : Complete Programs, Content Management, Filesystem, PHP | | | PostGreSQL and MySQL 2 in 1 db Manager Categories : PHP, PHP Classes, Databases, PostgreSQL, MySQL | | | AJAX Data Grid System using php and mysql. A complete login system with the ability to display data in a grid using ajax. Add , update and delete the records without reloading the page. Categories : PHP, AJAX, Databases, MySQL, Java Script | | | PHP mySQL learning example This is a complete program to modify tables
in a mySQL database on a nice and neat way. Categories : PHP, MySQL, Complete Programs, HTML and PHP | | | PHPCatalog Categories : Ecommerce, PHP, Complete Programs | | | Simple class to build tables with style sheets Categories : HTML and PHP, PHP Classes, PHP | | | dbmopen -- Opens a DBM database Categories : PHP, PHP Functions, DBM | | | EAvalidator - This class can be used to validate an e-mail address by checking its domain. Categories : PHP, PHP Classes, Email, Regexps | | | Identify and log search engine access (spiders, robots, etc.) to a page. Categories : HTTP, Environment Variables, PHP, MySQL, Databases | | | How to get the exit code and result of an exec() command. Categories : PHP, Network | | | Loading Images to/from MySQL Categories : Databases, MySQL, PHP, Graphics | | | Dynamic Image Authentication System in Signup Pages (CAPTCHA) Categories : PHP, Security, GD image library | | | string justification align center text Categories : Strings, PHP, HTML and PHP | | | Text Wrapping Categories : PHP, HTML and PHP, Strings | |
| |
| |
|