href with multiple variables

Codes here !

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: href with multiple variables

Post by seandisanti » Wed Apr 09, 2014 11:41 pm

There are multiple ways to do what you're trying to do, but duplicate variable names is probably not the best one. you can use json strings to send whole objects or arrays between pages via get variables. Check out json_encode() and json_decode() That way you can even pass an array of arrays with a single field

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests