PHP Build a Basic PHP Website Building a Media Library in PHP Variables and Conditionals

HELP ME

D

index.php
<?php

echo "<p>Your favorite flavor of ice cream is ";
echo "vanilla";
echo ".</p>";
echo "<p>Hal's favorite flavor is cookie dough, also!</p>";
$flavor ="tomato";
echo"your favorite flavor of ice cream is"; echo $flavor;
echo ".";
if($flavor == ".") echo "So my favorite flavor is, tomato";
echo $flavor; 
echo "tomato"
echo "<p>Hal's favorite flavor is cookie dough, also!</p>";

?>

1 Answer

what is the problem that you are trying to solve?