Whenever I try to pass a variable through url with the l() function like:
l(t($row['salon_name']),'admin/content/edit-salons-products-services?sid='.$row[salon_id] );
? is replaced by “%3F”
= is replaced by “%3D”
Why is this happening and how can I fix it?
Change it to:
'admin/content/edit-salons-products-services/.$row[salon_id]'.You can access the salon id with
arg(3).You may also need to change your module’s menu declaration to allow this URL.