Hi,
Got this file, anntyp.php :
anntyp.php
<?php
$typ=array(
"1"=>"Säljes",
"2"=>"Köpes",
"3"=>"Uthyres",
"4"=>"Sökes",
"5"=>"Erbjudes"
);
echo $typ[$typid];
?>
I will later in another file use above file to print the option like this
part of php
print (" directory/anntyp.php?typid=$number ");
I guess you can't do that with the print command or I use wrong syntax.
Please help!