Jump to content

asparagus

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://www.gregbahlmann.com

Profile Information

  • Gender
    Not Telling

asparagus's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Just taking a stab at your second one. It's crude but it seems to work. Is this what you're looking for? <html> <body> <form action="NoName.php" method="post" name="form1"> <div> <select name="list"> <option value="red"> red</option> <option value="blue"> blue</option> <option value="green"> green</option> </select></div> <div><input type="submit" value="submit" name="submit"></div> </form> <?php // if submit if (isset($_POST['submit'])){ // get variable $list = $_POST['list']; //if conditionals if ($list == "red") { // you can either include the form action here or just the drop down box div or just the select code echo '<form action="page.php" method="post" name="form2"> <div><select name="list_one"> <option value="apple"> apple</option> <option value="orange"> orange</option> <option value="banana"> banana</option> </select></div> <div><input type="button" value="submit" name="submit"></div> </form>'; } if ($list == "blue") { echo '<form action="page.php" method="post" name="form3"> <div><select name="list_one"> <option value="Ford"> Ford</option> <option value="Toyota"> Toyota</option> <option value="Porsche"> Porsche</option> </select></div> <div><input type="button" value="submit" name="submit"></div> </form>'; } //.... whatever other options you need. } ?> </body> </html>
  2. As far as I know, the MAX_FILE SIZE only limits the size of files sent from the browser. Your PHP configuration file also has its own restriction on size, which may be limiting the size.
  3. Just reading through some threads and am amazed at how nasty some posters can be especially to people who are just asking for advice. After all I thought that's what this forum is all about ... helping others. I realise that sometimes people ask what seem to be stupid questions, but there's no need for blatant hostility. We all have to go through the learning curve. I guess all forums are the same ... most members are there for the right reason and there are always the bad few to muddy up the water and give the newbies grief. Pity I'm a newbie.
  4. Here is my situation; I have a Flash mc (Flash 8) that passes variables to a php page, which then, in turn, uploads the variables into a MySQL database. Everything was working well until I added a javascript snippet to open a pop-up window, and then everything just went to pot! The variables didn't get passed from the Flash movie to the php script. In a panic, I removed the javascript, but the variables still aren't being passed. My question is; does anyone out there lnopw whether or not javascript interferes with the passing of variables in from Flash to php? Should I be looking elsewhere for the source of my problem? Thanks for any help.  ???
×
×
  • 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.