i m traying this simples code but nothing is displayed what type of problem showld be.
<?php
function yourname($name)
{
echo "Your name is" .$name;
}
yourname("andi");
?>
another code
<?php
$age= 18;
if ($age>=21)
{
echo 'alan';
}else{
echo 'bob';
}
?>
andyy121 -9 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.