Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

PHP help

  • 20-11-2007 12:16AM
    #1
    Registered Users, Registered Users 2 Posts: 3,165 ✭✭✭


    Hi,

    I am editing a CMS script, and the thing I'm editing is using a tick box to select which item I want to do stuff with, and to send it over to a different php file, I have that part done. Now I would like to use a loop in the new file to redirect the variables that were directed from the first page over to a different php file, how can that be done? Oh the variables have to be passed on as an url for example, samplepage.php?variable1=yes&variable2=no


Comments

  • Registered Users, Registered Users 2 Posts: 6,652 ✭✭✭daymobrew


    Can you post some code to see how you are currently calling samplepage.php.

    You could use foreach to go through the entries in $_GET or $_POST and then maybe join them together with implode.


Advertisement