This is my first post, so I apologize in advance if I am in the wrong forum. Here's my situation. I have just upgraded Drupal from 6.2.? to 7.28. However, I am not getting an error with the tablesort_sql function as indicated by this link: http://reddoorgallery.org/gallery-artists
I have not used Drupal before, so this is all new to me. I have done some googling on the particular error and it appears to be that tablesort_sql is no longer a valid command in Drupal 7. I've tried to google some workarounds, but my PHP coding is suspect at best. Here is what the original code for this page is:
Click on any artist's name to view their full profile.
$rid = 3;
$header = array(
array('data' => t('Username'), 'field' => 'u.name', 'sort' => 'asc')
So, what can I change this to to make it work with Drupal 7.28? Your help would be greatly appreciated by everyone involved in this. Thank you in advance.