On 1/30/07, joep [email protected] wrote:
make = cgi.params[‘make’]
Any input would be great!
you’re mixing two things:
- server-side ruby (i.e. it runs on server)
The control flow is as follows:
- server takes your page, runs the embedded ruby, and replaces it
with the result.
xxx<%= ‘a’ + ‘b’ %>xxx is the same as xxxabxxx (except for possible
newlines, but we don’t care now)
now the page doesn’t contain any ruby code.
when ruby is run, and vice versa. What you have to do is to create a
form and send the data back to the server for processing - see your
year, make, category.