Anything wrong I'm doing? Supposed to show a drop down value of 1 - 31 days but the drop down option is just showing the word "day".. Thanks for the help
<select name="day">
<option value="">Day</option>
<?php // Print out 31 days:
for ($i = 1; $i <= 31; $i++) {
print "<option value=\"$i\">$i</option>";
}
?>
</select>
My Mathematical operation is not working. Need help. Thank you in advance!
P.S.
Go easy on me I'm a noob in both the PHP language and these forums
<?php
//First ever serious php program starting from the basics
echo "Hello World</br>";
print "<br>(278909887*4)</br>";
print "This should come out in another line";
?>
Output:
Hello World
(278909887*4) ====> This is what I'm talking about
This should come out in another line
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.