Is it possible to insert records into a MySQL database by clicking on a
link? I can do this with a form, but I see no tutorials, information on
the internet that this is possible. I guess I am thinking along the
lines of dynamically creating a link that would pass the values in a
querystring. Can someone point me in the right direction?
You should be able to by using a similar method to create (in
scaffold). Just use link_to:
See http://pastie.caboo.se/71146
On 6/17/07, Mike R. [email protected] wrote:
Is it possible to insert records into a MySQL database by clicking on a
link? I can do this with a form, but I see no tutorials, information on
the internet that this is possible. I guess I am thinking along the
lines of dynamically creating a link that would pass the values in a
querystring. Can someone point me in the right direction?
–
Ramon T.
Ramon T. wrote:
You should be able to by using a similar method to create (in
scaffold). Just use link_to:See http://pastie.caboo.se/71146
On 6/17/07, Mike R. [email protected] wrote:
Is it possible to insert records into a MySQL database by clicking on a
link? I can do this with a form, but I see no tutorials, information on
the internet that this is possible. I guess I am thinking along the
lines of dynamically creating a link that would pass the values in a
querystring. Can someone point me in the right direction?–
Ramon T.
Ramon,
Thanks for the help. I'll give that a try.
Mike R.