Hi Everyone,
I keep getting "Notice: Undefined variable: option_type in optiontype.inc on line 14".
Here is part of the code. Line 14 is: $option_type .= "<option value=\"$types\">$types</option>";
$sql = "SELECT types FROM carttype ORDER BY types";
$result = @($sql,$link) or die("Couldn't execute list unit query.");
while ($row = mysql_fetch_array($result)) {
$types = $row['types'];
}
$option_type .= "<option value=\"$types\">$types</option>";
TIA
Ivan