matrix addition in php

helo frds
i am new in php .please tel me how to perform matrix additon
<?php
echo "enter the number";
for(int i=0;int i<=2;int i++)
{
for(int j=0;int j<=2;int j++)
{
echo "enter the number" $a[j];
}
echo "\n";
}
?>
here i am not getting how to get the matrin values

thanks
matrix addition in php

See original post by hulkrana

Leave a Reply