Using l() for Drupal 6

alexis@drupal.org's picture
Offline
Joined: 02/05/2009
Juice: 2
Using l() for Drupal 6

Thanks for the tip, in Drupal 6 l() changes slightly so this worked for me and I got the redirect correctly:

l('Buy now', 'cart/add/p128_q1', array('query' => 'destination=cart/checkout'))

Regards.

Cart link redirect By: Max_Headroom (16 replies) Thu, 03/12/2009 - 12:18