Need fresh pair of eyes for my php code

I need to make three lines of php code that will randomly choose fahrenheit temp between -10 and 120 degrees and display it converted to celsius. this is the code I came up with but it wont run or validate. please help


<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Phpexamples</title>
</head>

<body>


<?php

echo"<p>$f equals $ rand ($c 10)."c."</p>";
echo "<p>"$c=($f-32) * (5/9);$f "</p>";
echo "<p>"$f= rand(-10,120) "<p>";


?>...

Need fresh pair of eyes for my php code

from PHP http://ift.tt/1WJKTq0
via IFTTT
Previous
Next Post »
Thanks for your comment