Getting the following error when running my query
DBD::mysql::st bind_columns failed: bind_columns called with 1 values but 25 are needed at ./getdata.pl line 42.
Is there a way for me to pull all the columns, but only print the five or six that I need witout having to bind each and every column?
I'm basically doing a select * from two tables and getting 25 columns back. I don't want to have to bind_columns(undef, \$col1, \$col2, \$col3.....all the way to 25 and then print only the first five or six.
DBD::mysql::st bind_columns failed: bind_columns called with 1 values but 25 are needed at ./getdata.pl line 42.
Is there a way for me to pull all the columns, but only print the five or six that I need witout having to bind each and every column?
I'm basically doing a select * from two tables and getting 25 columns back. I don't want to have to bind_columns(undef, \$col1, \$col2, \$col3.....all the way to 25 and then print only the first five or six.