I have problem again. Here is little explanation, I hope your understand.
First page have drop-down box that customer use to choose the right size for picture order. It have values with this begin:
<select name="size#asset_name#">
blaa...blaa...
Then little database check and we found what is the price of that size of picture:
<cfif #onemeg# is not "">
<option value="1">1Mb(EUR #onemeg#)</option>
</cfif>
</select>
Another page put all values together and calculates the total amount of order. Like this:
<cfloop list="#asset_name#" index="index">
<cfif '#Evaluate("size"&index)#' is "1">
Then again database check for that picture, how much is the price...
</cfloop>
That works GREAT if any of the "asset_name"s don´t have "-" -sign with its name. Some images have name like 455-456.jpg and those images give "Invalid parser..." -error. What can I do to make also those pictures work???
First page have drop-down box that customer use to choose the right size for picture order. It have values with this begin:
<select name="size#asset_name#">
blaa...blaa...
Then little database check and we found what is the price of that size of picture:
<cfif #onemeg# is not "">
<option value="1">1Mb(EUR #onemeg#)</option>
</cfif>
</select>
Another page put all values together and calculates the total amount of order. Like this:
<cfloop list="#asset_name#" index="index">
<cfif '#Evaluate("size"&index)#' is "1">
Then again database check for that picture, how much is the price...
</cfloop>
That works GREAT if any of the "asset_name"s don´t have "-" -sign with its name. Some images have name like 455-456.jpg and those images give "Invalid parser..." -error. What can I do to make also those pictures work???