Hi All
I'm looking to pass a number of variables from one page to another (to allow a contact to be added to a given group)
I've come up with a couple of ideas but am not sure of the best way - at present I use
<a href='addtogroup.php?cmd=add&id=$cid'>
to pass the contacts ID to a page which will then allow a user to select which group to put them in. I also want to pass the contacts forename / surname, so users know which contact they'll be putting into the group. I've tried adding
<a href='addtogroup.php?cmd=add&id=$cid&forename=$cforename'>
but this doesn't seem to work - I assume there is some in built limit on this?
I've also considered opening another mysql connection on the addtogroup.php page, but this seems like a bit of a waste of bandwidth, as i've already got the details on the current page.
I know passing the information as an array would be an option, but my PHP skills aren't quite there (yet).
Any ideas on a newbie friendly way of achieving this? Any help will be, as always, greatfully received.