Hi
This must sound really stupid but could someone tell me what code you write if you want to open up another page on your site?
I'm doing an if, else, elseif statement and depending on which language the user chooses i want to open up the specific homepage in their chosen language?
Would the html and the statement be something like this?
<td align="center"><input type="radio" name="mylanguage" value=1 checked></td>
<td></td>
<td align="center"><input type="radio" name="mylanguage" value=2></td>
<td></td>
<td align="center"><input type="radio" name="mylanguage" value=3></td>
<td></td>
<php?
$webpages=array( "homeenglish.php", "homeespanol.php", "homefrancais.php")
If ("mylanguage" == 1) {
get ("homeenglish.php");
}elseif ("mylanguage" = 2){
get ("homeespanol.php");
}else ("mylanguage" = 3){
get ("homefrancais.php");
}
?>
I would love any help at all!