Project Euler Solutions by Ross Marks

<?php
/*****************************
 * ProjectEuler - Problem 4
 * By Ross Marks
 *****************************
 * A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
 *
 * Find the largest palindrome made from the product of two 3-digit numbers.
 ****************************/

$currbest1 0;
$currbest2 0;

for(
$no1 100$no1 <= 999$no1++){
    for(
$no2 100$no2 <= 999$no2++){
        
$together $no1 $no2;
        if(
$together == strrev($together) && $together $currbest1*$currbest2){
            
$currbest1 $no1;
            
$currbest2 $no2;
        }
    }
}
echo 
"Awnser: $currbest1 X $currbest2 = ".$currbest1*$currbest2;

?>