i am trying to pass the value of $page="somepage"; throught a function suppose
function example($page)
{
echo $page;
?>
<input type="radio" name="smoke" value="Y"> Yes
<input type="radio" class="ml_10" name="smoke" value="N"> No
<input type="radio" class="ml_10" name="smoke" value="O"> Occasionally
<?php
}
example ($page);
When i try to echo the page it should come as somepage but instead its coming 1. but if i manually write page while calling functions it prints right for eg example ("somepage").