Jump to content

cesarhtown

Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Contact Methods

  • AIM
    cesarhtown
  • MSN
    cesarhtown@hotmail.com
  • Yahoo
    cesarhtown

Profile Information

  • Gender
    Not Telling
  • Location
    Houston

cesarhtown's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok, so lets assume that the page is refreshed. Now after clicking on the button, what is the procedure to put those selections in an array on Php?
  2. I would like to put my selections into an array called $names or something like that. I would like to have it in an array to manipulate the data somewhere else later on.
  3. Hello all. I need some help with some javascript using php. *I have a list in a <select></select> with 5 different <option>'s. **Now, I wish to select 1, 2, or more of those 5 options and have a button next to the box that says "CREATE ARRAY". ***When I click on CREATE ARRAY, I want to create a PHP array onclick, in other words storing those selections into an array. Any ideas? Please help. Cesar.
  4. Actually, I think I figured it out. I applied this code to my script: foreach ($GLOBALS as $k => $v) { echo "\$GLOBALS[$k] => $v <br>"; } That seems to do the trick, except for the variables that are arrays, but I guess I can loop into it, I just don't need them. Thanks for the advice.
  5. Hey guys! This is the situation. I have a script that somebody else wrote. This guy has a main.php page that includes different .php pages. Those .php pages include other .php pages, and those include OTHER .PHP PAGES! in my opinion, the code is a mess! I've been trying my best to come up with the logic of all these pages put together, but it's riduclous... oh well... can anybody help with some kind of function that reads all variables that are passed on/included to the main.php page? it would be nice to enter a function that gives you a list of all the variables that are in play from those pages on main.php somewhere. Please help. Cesar.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.