Hello Bob,
I need one more assistance from you. I have a form with a drop down option of catalogues that a site visitor may want to download when a visitor chooses from the drop down the relevant file is attached to his email with the below code:
I want to modify this code that can redirect to the link directly tas per the dropdown choice made by the visitor. I have over 50 catalogs that can be chosen in the dropdown.
Thanks for all the help. Best wishes
Ronn
I need one more assistance from you. I have a form with a drop down option of catalogues that a site visitor may want to download when a visitor chooses from the drop down the relevant file is attached to his email with the below code:
< ? php
switch ($_POST['download'])
{
case 'Glass Catalogue - 2015':
$form->files['catalog'] = array(
'path' => '/home/xxxx/public_html/cat/glass_.pdf'
);
break;
case 'Cut Glass Catalogue - 2014':
$form->files['catalog'] = array(
'path' => '/home/xxxx/public_html/cat/cut_glass.pdf'
);
}
?>
I want to modify this code that can redirect to the link directly tas per the dropdown choice made by the visitor. I have over 50 catalogs that can be chosen in the dropdown.
Thanks for all the help. Best wishes
Ronn