If I type the value in it works
WHERE statement is `meet_name` = 'LHG Jan 2012' AND `share` IS NULL
Data Array:
Array
(
[meet_select] => LHG Jan 2012
[input_submit_0] => Download CSV File
[8f9b6161b167c545921c98f3fbd4144a] => 1
[option] => com_chronoforms
[chronoform] => meets_download
[event] => submit
[Itemid] =>
[csv_link] => http://www.yrc.org.uk/yrcweb/components/com_chronoforms/exports/meets_download/csv_export_fv1lz_chronoforms_data_meets_201201041309.csv
[csv_count] => 16
[csv_size] => 3
)
Debug Data
CSV Export
$download_export: 0
$download_nosave: 0
Save folder is:
/homepages/11/d369608199/htdocs/yrcweb/components/com_chronoforms/exports/meets_download/
$download_export: xxx
$download_export: 0
File name is:
csv_export_fv1lz_chronoforms_data_meets_201201041309.csv
$query: SELECT `meet_name`, `for`, `name`, `email`, `with`, `lift`, `from`, `Arrival`, `Fri_Eve`, `Sat_Break`, `Sat_Dinner`, `Sun_Break`, `notes` FROM `fv1lz_chronoforms_data_meets` WHERE `meet_name` = 'LHG Jan 2012' AND `share` IS NULL ORDER BY `name` ASC;
16 records were found to export.
Save link is:
http://www.yrc.org.uk/yrcweb/components/com_chronoforms/exports/meets_download/csv_export_fv1lz_chronoforms_data_meets_201201041309.csv
File size is: 3 kb
But if I try to bring info in from form data {meet_select} it fails
WHERE statement is `meet_name` = '{meet_select}' AND `share` IS NULL
Data Array:
Array
(
[meet_select] => LHG Jan 2012
[input_submit_0] => Download CSV File
[8f9b6161b167c545921c98f3fbd4144a] => 1
[option] => com_chronoforms
[chronoform] => meets_download
[event] => submit
[Itemid] =>
)
Debug Data
CSV Export
$download_export: 0
$download_nosave: 1
Download 'No Save' is set so no folder is created.
File name is:
csv_export_fv1lz_chronoforms_data_meets_201201041305.csv
$query: SELECT `meet_name`, `for`, `name`, `email`, `with`, `lift`, `from`, `Arrival`, `Fri_Eve`, `Sat_Break`, `Sat_Dinner`, `Sun_Break`, `notes` FROM `fv1lz_chronoforms_data_meets` WHERE `meet_name` = '{meet_select}' AND `share` IS NULL ORDER BY `name` ASC;