www.webdeveloper.com
Results 1 to 3 of 3

Thread: Problem link

  1. #1
    Join Date
    Jan 2014
    Posts
    4

    Problem link

    Hello.
    I have a problem with a link. When I click on the button, the result is error 404 . Please could someone help me to solve this php.issue.
    This is my code.

    <html>
    <body>
    <?php
    include('connexion1.php');
    /* la fonction addslashes gère les caractères de type guillemets contenus dans les variables en les protégeant par une barre
    oblique (/) de manière à éviter les conflits avec les guillemets liés à la syntaxe du PHP et/ou du SQL */

    if(!$bdd) // idem if précèdent
    {
    print "Erreur dans la sélection de la base $base !<br>";
    // fermeture de la connexion
    mysql_close($bdd);
    }
    else
    {
    ('Location gestion projet informatiser.php'); // Affichage la page d'accueil
    }
    ?>
    <form name="selection" action="gestion projet informatiser.php" method="POST">
    <header style="background-color: blue"><h1>Gestion Projet Informatiser</h1></header>
    <nav><ul>
    <li><a href="gestion-projet-informatiser.php">Gestion Projet Informatiser</a></li>
    </ul>
    <select name="phase" size="1">
    <option value="Phase" href="phase.php">Phase</a></option>
    <option value="Module">Module</option>
    </select>
    <center><input type="submit" value="Valider"></center>
    </form>
    </body>
    </html>

  2. #2
    Join Date
    Oct 2013
    Posts
    609
    Something is wrong with this line:
    <option value="Phase" href="phase.php">Phase</a></option>

    Try either of these:
    <option value="Phase"><a href="phase.php">Phase</a></option>
    <option value="Phase" href="phase.php">Phase</option>

  3. #3
    Join Date
    Jan 2014
    Posts
    4
    Thank you for the answer

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles