Php > Algorithms
A SIMPLE
A SIMPLE = 1; $i--) { for($j = 1; $j <= $i; $j++) { if($a1[$j-1] > $a1[$j]) { $t = $a1[$j-1]; $t2 = $a2[$j-1]; $a1[$j-1] = $a1[$j]; $a2[$j-1] = $a2[$j]; $a1[$j] = $t; $a2[$j] = $t2; } } } } ?>
Php Codes
Algorithms
Arrays
Authentication
Calendar
Code Snippets
Programs
Content Manage
Contest Related
Cookies
Credit Cards
DBase Related
Databases
Date Time
Directories
E-Mail
Errors
File
File System
Forms
Handling
Graphics
HTML and PHP
Informix
Ingres
InterBase
LDAP
Look and Feel
Miscellaneous
MySQL
Other
PHP Classes
Searching
Navigation
Statistics
Strings
User Manage