IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

PHP & Base de données Discussion :

erreur lors de l'affichage du programme d'inscription des enseignants


Sujet :

PHP & Base de données

  1. #1
    Nouveau membre du Club
    Inscrit en
    Mars 2009
    Messages
    161
    Détails du profil
    Informations forums :
    Inscription : Mars 2009
    Messages : 161
    Points : 38
    Points
    38
    Par défaut erreur lors de l'affichage du programme d'inscription des enseignants
    salut tout le monde
    voila j'ai un projet d'agende du personnel
    ou je doit réaliser l'insription du personnel la suppréssion , la modification, la recherche.
    bon voila le programme suivant qui contient un menu et qui sa marche trés bien
    mais quand je clique sur "ajouter enseignant" qui fait lien a ce deuxieme programme

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>@nnuaire des Enseignants et des ATS </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    .style11 {color: #000000}
    .style5 {color: #FFFFFF}
    -->
    </style>
    </head>
    <body>
    <p align="center">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="570" height="59">
        <param name="movie" value="EPST.swf">
        <param name="quality" value="high">
        <embed src="EPST.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="570" height="59"></embed>
      </object>
    </p>
    <p align="center"><span class="style5">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="132" height="99">
        <param name="movie" value="Movie3.swf">
        <param name="quality" value="high">
        <embed src="Movie3.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="132" height="99"></embed>
      </object>
    </span></p>
    <h1 align="center"><em><strong>@<span class="style11">NNUAIRE DU PERSONNEL</span></strong></em></h1>
    <div align="right">
      <div align="center">
        <table width="934" height="270">
          <tr>
            <th width="95" height="99" scope="col"><img src="home.png" name="image" width="60" height="60"><br>
            <a href="frame%20essai.htm" class="style13">ACCUEIL</a></th>
            <th width="181" scope="col"><img src="support.png" name="image" width="45" height="60"><br>
            <a href="frame%20lien%20ens.htm" class="style13">ENSEIGNANT</a></th>
            <th width="181" scope="col"><img src="support.png" name="image" width="45" height="60"><br>
            <a href="frame%20lien%202%20ats.htm" class="style13">ATS</a></th>
            <th width="153" scope="col"><img src="solutions.png" name="image" width="65" height="60"><br>
            <a href="frame%20rechercher.htm" class="style13">RECHERCHER</a></th>
            <th width="172" scope="col"><img src="company.png" name="image" width="75" height="58"><br>
            <a href="javascript:window.close()">DECONNEXION</a></th>
            <th width="124" scope="col"><img src="contacts.png" name="image" width="56" height="60"><br>
                <a href="framecontact.htm">CONTACT</a><br>
            <a href="LIEN2.htm"></a></th>
          </tr>
          <tr>
            <th height="40" scope="col">&nbsp;</th>
            <td><div align="center">
                <p><a href="frameinscens.php"><img src="btn_new-client_bg.gif" width="30" height="30"> Ajouter Enseignant </a></p>
                </div></td>
            <th scope="col">&nbsp;</th>
            <th scope="col">&nbsp;</th>
            <th scope="col">&nbsp;</th>
            <th scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th height="40" scope="col">&nbsp;</th>
            <td><div align="center"><a href="frame%20supp%20enseignants.htm"><img src="supprimer-icone-5656-128.png" width="30" height="30"> Supprimer Enseignant</a></div></td>
            <th scope="col">&nbsp;</th>
            <th scope="col">&nbsp;</th>
            <th scope="col">&nbsp;</th>
            <th scope="col">&nbsp;</th>
          </tr>
          <tr>
            <th height="74" scope="col">&nbsp;</th>
            <td><div align="center">
                <p><img src="icone_inscription.png" width="30" height="30"> Modifier Enseignant</p>
                <p><a href="modification1%20ens.php">FR </a>/<a href="modification1%20ens%20arabe.php">AR</a></p>
            </div></td>
            <th scope="col">&nbsp;</th>
            <th scope="col">&nbsp;</th>
            <th scope="col">&nbsp;</th>
            <th scope="col">&nbsp;</th>
          </tr>
        </table>
      </div>
      <div align="center"></div>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
      <p align="center">&nbsp;</p>
    </div>
    <p align="center">&nbsp;</p>
    </body>
    </html>
    et voila le programme d'inscription qui n'affiche pas malgré qu'avant c'est le contraire
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
    830
    831
    832
    833
    <?php require_once('Connections/connection.php'); ?>
    <?php
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
    {
       $theValue = (!get_magic_quotes_gpc()) ? mysql_real_escape_string($theValue) : mysql_real_escape_string(stripslashes($theValue));
     
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;    
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      }
      return $theValue;
    }
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    }
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO ens (nom,prenom,nom1,prenom1,mail,jour,mois,annee,lieu,wilaya,lieu1,wilaya1,portable,fix,cvl,sitfamil,nbrenf,adresse,adresse1,grade,type,echelon,departement,jour1,mois1,annee1,derdip,lieurec,spedip1,derdip1,lieurec1,spedip) VALUES (%s,%s,%s,%s,%s,%s,%s,%s, %s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s, %s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)",
     
     
                           GetSQLValueString($_POST['nom'], "text"),
                           GetSQLValueString($_POST['prenom'], "text"),
    					    GetSQLValueString($_POST['nom1'], "text"),
                           GetSQLValueString($_POST['prenom1'], "text"),
                           GetSQLValueString($_POST['mail'], "text"),
    					   GetSQLValueString($_POST['jour'], "int"),
    					   GetSQLValueString($_POST['mois'], "int"),
    					   GetSQLValueString($_POST['annee'], "int"),
    					   GetSQLValueString($_POST['lieu'], "text"),
    					   GetSQLValueString($_POST['wilaya'], "text"),
    					     GetSQLValueString($_POST['lieu1'], "text"),
    					   GetSQLValueString($_POST['wilaya1'], "text"),
    					   GetSQLValueString($_POST['portable'], "text"),
    					    GetSQLValueString($_POST['fix'], "text"),
    					   GetSQLValueString($_POST['cvl'], "text"),
    					   GetSQLValueString($_POST['sitfamil'], "text"),
    					   GetSQLValueString($_POST['nbrenf'], "text"),
    					    GetSQLValueString($_POST['adresse'], "text"),
    						 GetSQLValueString($_POST['adresse1'], "text"),
    						 GetSQLValueString($_POST['grade'], "text"),
    						  GetSQLValueString($_POST['type'], "text"),
    						   GetSQLValueString($_POST['echelon'], "int"),
    						  GetSQLValueString($_POST['departement'], "text"),
    						   GetSQLValueString($_POST['jour1'], "int"),
    						   GetSQLValueString($_POST['mois1'], "int"),
    						   GetSQLValueString($_POST['annee1'], "int"),
    						    GetSQLValueString($_POST['lieurec'], "text"),
    							 GetSQLValueString($_POST['spedip'], "text"),
    						   GetSQLValueString($_POST['derdip'], "text"),
    						    GetSQLValueString($_POST['lieurec1'], "text"),
    							 GetSQLValueString($_POST['spedip1'], "text"),
    						   GetSQLValueString($_POST['derdip1'], "text")
    						    );
     
     
     
     
      mysql_select_db($database_connection, $connection);
      $Result1 = mysql_query($insertSQL, $connection) or die(mysql_error());
     
      $insertGoTo = "inscription2.htm";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      }
      header(sprintf("Location: %s", $insertGoTo));
    }
     
    mysql_select_db($database_connection, $connection);
    $query_Recordset1 = "SELECT * FROM ens";
    $Recordset1 = mysql_query($query_Recordset1, $connection) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
     
     
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title> Formulaire d'Inscription des ENSEIGNANTS </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script>
    function fonction_js(form){
        form.tonbouton.disabled=false;
       if(form.nom.value == "")//ou toutes conditions que tu souhaites implémenter
         form.tonbouton.disabled=true;
        //ainsi de suite sur tous les champs que tu veux vérifier
    }
    </script>
    <style type="text/css">
    <!--
    .style1 {
    	color: #000000;
    	font-weight: bold;
    	font-style: italic;
    }
    body {
    	background-image:    url();
    	background-color: #CCFFCC;
    }
    .style2 {
    	font-family: Geneva, Arial, Helvetica, sans-serif;
    	font-style: italic;
    	font-weight: bold;
    }
    .style10 {font-family: "Times New Roman", Times, serif; font-style: italic; font-weight: bold; color: #990000; }
    .style12 {font-family: "Times New Roman", Times, serif}
    .style15 {color: #000000}
    .style18 {color: #000000; font-style: italic; }
    .style20 {font-family: "Times New Roman", Times, serif; font-weight: bold;}
    .style21 {color: #660000}
    .style24 {
    	color: #660000;
    	font-weight: bold;
    	font-style: italic;
    }
    .style25 {color: #330066}
    .style26 {color: #330066; font-weight: bold; font-style: italic; }
    .style28 {
    	color: #330066;
    	font-weight: bold;
    }
    .style29 {color: #660099}
    -->
    </style>
    </head>
     
    <body>
    <form method="post" name="form1" action="<?php echo $editFormAction; ?>">
      <h1 align="center" class="style1">***FORMULAIRE D'INSCRIPTION DES ENSEIGNANTS*** </h1>
      <p align="left" class="style1">&nbsp;</p>
      <p align="left" class="style1 style29"><em><strong>* CHAMPS OBLIGATOIRE </strong></em></p>
      <div align="left">
        <table width="1090" height="745" align="center">
          <tr valign="baseline">
            <td width="258" align="right" nowrap class="style10 style12"><div align="center" class="style21">
              <div align="right" class="style24 style25">ETAT </div>
            </div></td>
            <td width="383" align="right"><div align="left">
                <p class="style26">CIVIL</p>
            </div></td>
            <td width="300" align="right"><h2 align="right"><strong><span class="style25">المدنية</span></strong></h2></td>
            <td width="129" align="right"><div align="left">
                <h2 class="style28">الحالة</h2>
            </div></td>
          </tr>
          <tr valign="baseline">
            <td align="right" nowrap class="style10 style12">&nbsp;</td>
            <td align="right">
              <div align="left"> </div></td>
            <td align="right">&nbsp;</td>
            <td align="right">&nbsp;</td>
          </tr>
          <tr valign="baseline">
            <td align="right" nowrap class="style10 style12"><div align="left" class="style15">NOM</div></td>
            <td align="right">
              <div align="left">
                 <input id="nom" type="text" name="nom" value="" onKeyUp="fonction_js(form);"/>
            *</div></td>
            <td align="right">
              <div align="right">
                *
               <input id="nom1" type="text" name="nom1" value="" onKeyUp="fonction_js(form);"/>
            </div></td>
            <td align="right"><div align="center"><strong>اللقب</strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right" nowrap class="style10 style12"><div align="left" class="style15">PRENOM</div></td>
            <td align="right">
              <div align="left">
                <input id="prenom" type="text" name="prenom" value="" onKeyUp="fonction_js(form);"/>
            *</div></td>
            <td align="right">
              <div align="right">
                *
                <input id="prenom1" type="text" name="prenom1" value="" onKeyUp="fonction_js(form);"/>
            </div></td>
            <td align="right"><div align="center"><strong>الاسم</strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right" nowrap class="style10 style12"><div align="left" class="style15">E-MAIL</div></td>
            <td align="right">
     
              <div align="right">
                <input name="mail" type="text" id="mail" onKeyUp="fonction_js(form);" value="" size="40"/>
                </div></td>
            <td align="right">
            <div align="right"></div></td>
            <td><div align="center"><strong>الالكتروني البريد </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right" nowrap class="style10 style12"><div align="left" class="style15">
                <div align="center" class="style25">
                  <div align="left" class="style15">DATE-NAISSANCE</div>
                </div>
            </div></td>
            <td align="right">
              <div align="right">
                <select name="jour" size="1" id="jour">
                  <option>01</option>
                  <option>02</option>
                  <option>03</option>
                  <option>04</option>
                  <option>05</option>
                  <option>06</option>
                  <option>07</option>
                  <option>08</option>
                  <option>09</option>
                  <option>10</option>
                  <option>11</option>
                  <option>12</option>
                  <option>13</option>
                  <option>14</option>
                  <option>15</option>
                  <option>16</option>
                  <option>17</option>
                  <option>18</option>
                  <option>19</option>
                  <option>20</option>
                  <option>21</option>
                  <option>22</option>
                  <option>23</option>
                  <option>24</option>
                  <option>25</option>
                  <option>26</option>
                  <option>27</option>
                  <option>28</option>
                  <option>29</option>
                  <option>30</option>
                  <option>31</option>
                </select>
                <select name="mois" size="1" id="mois">
                  <option>01</option>
                  <option>02</option>
                  <option>03</option>
                  <option>04</option>
                  <option>05</option>
                  <option>06</option>
                  <option>07</option>
                  <option>08</option>
                  <option>09</option>
                  <option>10</option>
                  <option>11</option>
                  <option>12</option>
                </select>
                <select name="annee" size="1" id="annee">
                  <option selected>1940</option>
                  <option>1941</option>
                  <option>1942</option>
                  <option>1943</option>
                  <option>1944</option>
                  <option>1945</option>
                  <option>1946</option>
                  <option>1947</option>
                  <option>1948</option>
                  <option>1949</option>
                  <option>1950</option>
                  <option>1951</option>
                  <option>1952</option>
                  <option>1953</option>
                  <option>1954</option>
                  <option>1955</option>
                  <option>1956</option>
                  <option>1957</option>
                  <option>1958</option>
                  <option>1959</option>
                  <option>1960</option>
                  <option>1961</option>
                  <option>1962</option>
                  <option>1963</option>
                  <option>1964</option>
                  <option>1965</option>
                  <option>1966</option>
                  <option>1967</option>
                  <option>1968</option>
                  <option>1969</option>
                  <option>1970</option>
                  <option>1971</option>
                  <option>1972</option>
                  <option>1973</option>
                  <option>1974</option>
                  <option>1975</option>
                  <option>1976</option>
                  <option>1977</option>
                  <option>1978</option>
                  <option>1979</option>
                  <option>1980</option>
                  <option>1981</option>
                  <option>1982</option>
                  <option>1983</option>
                  <option>1984</option>
                  <option>1985</option>
                  <option>1986</option>
                  <option>1987</option>
                  <option>1988</option>
                  <option>1989</option>
                  <option>1990</option>
                  <option>1991</option>
                  <option>1992</option>
                  <option>1993</option>
                  <option>1994</option>
                  <option>1995</option>
                  <option>1996</option>
                  <option>1997</option>
                  <option>1998</option>
                  <option>1999</option>
                  <option>2000</option>
                  <option>2001</option>
                  <option>2002</option>
                  <option>2003</option>
                  <option>2004</option>
                  <option>2005</option>
                  <option>2006</option>
                  <option>2007</option>
                  <option>2008</option>
                  <option>2009</option>
                  <option>2010</option>
                  <option>2011</option>
                  <option>2012</option>
                  <option>2013</option>
                  <option>2014</option>
                  <option>2015</option>
                  <option>2016</option>
                  <option>2017</option>
                  <option>2018</option>
                  <option>2019</option>
                  <option>2020</option>
                </select>
                  </div></td>
            <td align="right">&nbsp;</td>
            <td><div align="center"><strong>الازدياد تاريخ </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right" nowrap class="style10 style12"><div align="left"><span class="style15">LIEU - NAISSANCE </span></div></td>
            <td align="right"><div align="left">
                <input name="lieu" type="text" id="lieu" size="18">
                <select name="wilaya" size="1" id="wilaya">
                  <option>ADRAR</option>
                  <option>CHLEF</option>
                  <option>LAGHUOUAT</option>
                  <option>OUM EL BOUAGHI</option>
                  <option>BETNA</option>
                  <option>BIJAIA</option>
                  <option>BISKRA</option>
                  <option>BECHAR</option>
                  <option>BLIDA</option>
                  <option>BOUIRA</option>
                  <option>TAMANRASSET</option>
                  <option>TEBESSA</option>
                  <option selected>TLEMCEN</option>
                  <option>TIARET</option>
                  <option>TIZI OUZOU</option>
                  <option>ALGER</option>
                  <option>DJELFA</option>
                  <option>JIJEL</option>
                  <option>SETIF</option>
                  <option>SAIDA</option>
                  <option>SKIKDA</option>
                  <option>SIDI BEL ABESSE</option>
                  <option>ANNABA</option>
                  <option>GUELMA</option>
                  <option>CONSTANTINE</option>
                  <option>MEDEA</option>
                  <option>MOSTAGANEM</option>
                  <option>M'SILA</option>
                  <option>MASCARA</option>
                  <option>OUARGLA</option>
                  <option>ORAN</option>
                  <option>EL BAYADH</option>
                  <option>ILLIZI</option>
                  <option>B B ARRERIDJ</option>
                  <option>BOUMERDES</option>
                  <option>EL TAREF</option>
                  <option>TINDOUF</option>
                  <option>TISSEMSILET</option>
                  <option>EL OUED</option>
                  <option>KHENCHLA</option>
                  <option>SOUK AHRAS</option>
                  <option>TIPAZA</option>
                  <option>MILA</option>
                  <option>AIN DEFLA</option>
                  <option>NAAMA</option>
                  <option>AIN TEMOUCHENT</option>
                  <option>GHARDAIA</option>
                  <option>RELIZANE</option>
                </select>
            </div></td>
            <td align="right">
              <select name="wilaya1" size="1" id="select8">
                <option>أدرار</option>
                <option>الشلف</option>
                <option>الأغواط</option>
                <option>أم البواقي</option>
                <option>باتنة</option>
                <option>بجاية</option>
                <option>بسكرة</option>
                <option>بشار</option>
                <option>البليدة</option>
                <option>البويرة</option>
                <option>تمنراست</option>
                <option>تبسة</option>
                <option selected>تلمسان</option>
                <option>تيارت</option>
                <option>تيزي وزو</option>
                <option>الجزائر</option>
                <option>الجلفة</option>
                <option>جيجل</option>
                <option>سطيف</option>
                <option>سعيدة</option>
                <option>سكيكدة</option>
                <option>سيدي بلعباس</option>
                <option>عنابة</option>
                <option>قالمة</option>
                <option>قسنطينة</option>
                <option>المدية</option>
                <option>مستغانم</option>
                <option>المسيلة</option>
                <option>معسكر</option>
                <option>ورقلة</option>
                <option>وهران</option>
                <option>البيض</option>
                <option>اليزي</option>
                <option>برج بوعريريج</option>
                <option>بومرداس</option>
                <option>الطارف</option>
                <option>تندوف</option>
                <option>تيسمسيلت</option>
                <option>الواد</option>
                <option>خنشلة</option>
                <option>سوق أهراس</option>
                <option>تيبازة</option>
                <option>ميلة</option>
                <option>عين الدفلة</option>
                <option>النعامة</option>
                <option>عين تموشنت</option>
                <option>غرداية</option>
                <option>غليزان</option>
              </select>
              <input name="lieu1" type="text" id="lieu1" size="18"></td>
            <td><div align="center"><strong>الازدياد مكان </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td height="32" align="right" nowrap class="style10 style12"><div align="left" class="style15">N&deg;TEL</div></td>
            <td align="right">          
              <div align="right"><strong>Fixe</strong>: 
                <input name="fix" type="text" id="fix" size="15">
                  <strong>Portable:</strong>
                <input name="portable" type="text" id="Ntel4" size="16">
                </div></td>
            <td align="right">&nbsp;</td>
            <td align="right"><div align="center"><strong>الهاتف رقم </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right" nowrap class="style10 style12"><div align="center" class="style15">
                <div align="left">CIVILITE</div>
            </div></td>
            <td align="right">
     
              <div align="right">
                  <select name="cvl" size="1" id="cvl">
                    <option>Mr  ,   السيد</option>
                    <option>Mme  ,  السيدة</option>
                    <option>Melle  ,  الأنسة</option>
                  </select>
                </div></td>
            <td align="right">&nbsp;</td>
            <td align="right"><div align="center"><strong>المدنية الحالة  </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right" nowrap class="style10 style12"><div align="left" class="style15">SITUATION FAMILLIALE </div></td>
            <td align="right">
              <div align="right">
                  <select name="sitfamil" size="1" id="sitfamil">
                    <option>MARIE/(E) , متزوج/ة</option>
                    <option>CELIBATAIRE , أعزب/باء</option>
                    <option>DIVORCE/(E) , مطلق/ة</option>
                    <option>VOEUF/(VE) , أرمل/ة</option>
                  </select>
                </div></td>
            <td align="right">&nbsp;</td>
            <td align="right"><div align="center"><strong>العائلية الحالة </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td height="30" align="right"  class="style10 style12"><div align="center" class="style18">
                <div align="left">NBRE-ENFANT</div>
            </div></td>
            <td align="right">
     
              <div align="right">
                  <select name="nbrenf" size="1" id="nbrenf">
                    <option>00</option>
                    <option>01</option>
                    <option>02</option>
                    <option>03</option>
                    <option>04</option>
                    <option>05</option>
                    <option>06</option>
                    <option>07</option>
                    <option>08</option>
                    <option>09</option>
                    <option>10</option>
                    <option>11</option>
                    <option>12</option>
                    <option>13</option>
                    <option>14</option>
                    <option>15</option>
                    <option>16</option>
                    <option>17</option>
                    <option>18</option>
                    <option>19</option>
                    <option>20</option>
                  </select>
                </div></td>
            <td align="right">&nbsp;</td>
            <td align="right">
              <div align="center"><strong> الأطفال عدد </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style10"><div align="center" class="style18">
                <div align="left">ADRESSE</div>
            </div></td>
            <td align="right">
              <div align="left">
                <input name="adresse" type="text" id="adresse" size="50">
            </div></td>
            <td align="right"><input name="adresse1" type="text" id="Adresse22" size="50"></td>
            <td align="right"><div align="center"><strong>العنوان</strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style10">&nbsp;</td>
            <td align="right">&nbsp;</td>
            <td align="right">&nbsp;</td>
            <td align="right">&nbsp;</td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style10"><div align="center" class="style18"><div align="center" class="style21"><div align="right" class="style25">
              <p>ETAT </p>
                </div>
              </div>
            </div></td>
            <td align="right"><div align="left">
                <p class="style26">PROFESSIONNEL</p>
                </div></td>
            <td align="right"><div align="right">
                <h2 class="style25"><strong>العملية</strong></h2>
            </div></td>
            <td align="right"><div align="left">
                <h2><strong><span class="style25">الحالة</span></strong></h2>
                <p>&nbsp;</p>
            </div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style2"><div align="center" class="style18">
                <div align="left"><span class="style20">DATE DU 1 er RECRUTEMENT </span></div>
            </div></td>
            <td align="right">
              <div align="left">
                <p align="right">
                  <select name="jour1" size="1" id="jour1">
                    <option>01</option>
                    <option>02</option>
                    <option>03</option>
                    <option>04</option>
                    <option>05</option>
                    <option>06</option>
                    <option>07</option>
                    <option>08</option>
                    <option>09</option>
                    <option>10</option>
                    <option>11</option>
                    <option>12</option>
                    <option>13</option>
                    <option>14</option>
                    <option>15</option>
                    <option>16</option>
                    <option>17</option>
                    <option>18</option>
                    <option>19</option>
                    <option>20</option>
                    <option>21</option>
                    <option>22</option>
                    <option>23</option>
                    <option>24</option>
                    <option>25</option>
                    <option>26</option>
                    <option>27</option>
                    <option>28</option>
                    <option>29</option>
                    <option>30</option>
                    <option>31</option>
                  </select>
                  <select name="mois1" size="1" id="mois1">
                    <option>01</option>
                    <option>02</option>
                    <option>03</option>
                    <option>04</option>
                    <option>05</option>
                    <option>06</option>
                    <option>07</option>
                    <option>08</option>
                    <option>09</option>
                    <option>10</option>
                    <option>11</option>
                    <option>12</option>
                  </select>
                  <select name="annee1" size="1" id="annee1">
                    <option selected>1970</option>
                    <option>1971</option>
                    <option>1972</option>
                    <option>1973</option>
                    <option>1974</option>
                    <option>1975</option>
                    <option>1976</option>
                    <option>1977</option>
                    <option>1978</option>
                    <option>1979</option>
                    <option>1980</option>
                    <option>1981</option>
                    <option>1982</option>
                    <option>1983</option>
                    <option>1984</option>
                    <option>1985</option>
                    <option>1986</option>
                    <option>1987</option>
                    <option>1988</option>
                    <option>1989</option>
                    <option>1990</option>
                    <option>1991</option>
                    <option>1992</option>
                    <option>1993</option>
                    <option>1994</option>
                    <option>1995</option>
                    <option>1996</option>
                    <option>1997</option>
                    <option>1998</option>
                    <option>1999</option>
                    <option>2000</option>
                    <option>2001</option>
                    <option>2002</option>
                    <option>2003</option>
                    <option>2004</option>
                    <option>2005</option>
                    <option>2006</option>
                    <option>2007</option>
                    <option>2008</option>
                    <option>2009</option>
                    <option>2010</option>
                    <option>2011</option>
                    <option>2012</option>
                    <option>2013</option>
                    <option>2014</option>
                    <option>2015</option>
                    <option>2016</option>
                    <option>2017</option>
                    <option>2018</option>
                    <option>2019</option>
                    <option>2020</option>
                    <option>2021</option>
                    <option>2022</option>
                    <option>2023</option>
                    <option>2024</option>
                    <option>2025</option>
                    <option>2026</option>
                    <option>2027</option>
                    <option>2028</option>
                    <option>2029</option>
                    <option>2030</option>
                    <option>2031</option>
                    <option>2032</option>
                    <option>2033</option>
                    <option>2034</option>
                    <option>2035</option>
                    <option>2036</option>
                    <option>2037</option>
                    <option>2038</option>
                    <option>2039</option>
                    <option>2040</option>
                  </select>
                </p>
            </div></td>
            <td align="right">&nbsp;</td>
            <td align="right"><div align="center"><strong>تنصيب أول تاريخ </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style2"><div align="left" class="style20">LIEU DE RECRUTEMENT </div></td>
            <td align="right"><div align="left">
                <input name="lieurec" type="text" id="Adresse2" size="30">
            </div></td>
            <td align="right"><input name="lieurec1" type="text" id="lieurec22" size="30"></td>
            <td align="right"><div align="center"><strong>التنصيب مكان </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style20"><div align="left"><em>DERNIER DIPLOME </em></div></td>
            <td align="right"><div align="left">
              <input name="derdip" type="text" id="Adresse3" size="30">
            </div></td>
            <td align="right"><input name="derdip1" type="text" id="lieurec2" size="30"></td>
            <td align="right"><div align="center"><strong>شهادة اخر </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style20"><div align="left"><em>SPECIALITE DU DIPLOME </em></div></td>
            <td align="right"><div align="left">
                <input name="spedip" type="text" id="Adresse4" size="30">
            </div></td>
            <td align="right"><input name="spedip1" type="text" id="lieurec3" size="30"></td>
            <td align="right"><div align="center"><strong>الشهادة تخصص  </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style2"><div align="center" class="style18">
                <div align="left"><span class="style20">GRADE</span></div>
            </div></td>
            <td align="right">
     
              <div align="right">
                <select name="grade" size="1" id="grade">
                  <option>PROFESSEUR , أستاد</option>
                  <option>M C &quot;A&quot; , أ مح آ </option>
                  <option>M C &quot;B&quot; , أ مح ب </option>
                  <option>M A &quot;A&quot; , أ مس آ </option>
                  <option>M A &quot;B&quot; , أ مس ب </option>
                  <option>M A  ,  أ مس</option>
                </select>
              </div></td>
            <td align="right">&nbsp;</td>
            <td align="right"><div align="center"><strong>الرتبة</strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style2"><div align="center" class="style18">
                <div align="left"><span class="style20">TYPE </span></div>
            </div></td>
            <td align="right">
     
              <div align="right">
                  <select name="type" size="1" id="type">
                    <option>TITULAIRE , مرسم/ة</option>
                    <option>CONTRACTUEL/(LE) , متعاقد/ة</option>
                    <option>VACATAIRE  ,  أستاد مؤقت</option>
                  </select>
                </div></td>
            <td align="right">&nbsp;</td>
            <td align="right"><div align="center"><strong>العمل وضعية </strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style2"><div align="center" class="style18">
                <div align="left"><span class="style20">ECHELON</span></div>
            </div></td>
            <td align="right">
     
              <div align="right">
                  <select name="echelon" size="1" id="echelon">
                    <option>01</option>
                    <option>02</option>
                    <option>03</option>
                    <option>04</option>
                    <option>05</option>
                    <option>06</option>
                    <option>07</option>
                    <option>08</option>
                    <option>09</option>
                    <option>10</option>
                    <option>11</option>
                    <option>12</option>
                    <option>13</option>
                    <option>14</option>
                    <option>15</option>
                    <option>16</option>
                    <option>17</option>
                    <option>18</option>
                    <option>19</option>
                    <option>20</option>
                  </select>
                </div></td>
            <td align="right">&nbsp;</td>
            <td align="right"><div align="center"><strong>الدرجة</strong></div></td>
          </tr>
          <tr valign="baseline">
            <td align="right"  class="style2"><div align="left" class="style12">DEPARTEMENT</div></td>
            <td align="right">
              <div align="right">
                <select name="departement" size="1" id="departement">
                  <option>INF, الاعلام الألي</option>
                  <option>MT, الرياضيات</option>
                  <option>PHY, الفيزياء</option>
                  <option>CH, الكيمياء</option>
                  <option>TECH, التكنولوجيا</option>
                  <option>SOCIO, الاجتماع</option>
                            </select>
              </div></td>
            <td align="right"><p>&nbsp;</p>
            <p>&nbsp;</p></td>
            <td align="right"><div align="center"><strong>القسم</strong></div></td>
          </tr>
          <tr valign="baseline">
            <td nowrap align="right"><div align="left"></div></td>
            <td align="right"><p align="right">
                <input name="submit" type="submit" class="style2" value="       Valider      ">
            </p></td>
            <td align="right"><div align="left">
                <label><strong>موافق</strong></label>
            </div></td>
            <td align="right"><div align="center"></div></td>
          </tr>
          <tr valign="baseline">
            <td height="37" align="right" nowrap><div align="left"></div></td>
            <td align="right">&nbsp;</td>
            <td align="right">&nbsp;</td>
            <td align="right"><p align="center">&nbsp;
      </p>      </td>
          </tr>
        </table>
        <input type="hidden" name="MM_insert" value="form1">
      </div>
    </form>
    <p align="center"><em></em></p>
    </body>
    </html>
    <?php
    mysql_free_result($Recordset1);
    ?>
    il m'affiche un message d'erreur :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    Erreur serveur
    Le site Web a rencontré une erreur lors de l'extraction de http://176.20.0.3/~rezigue/frameinscens.php. Cela peut être dû à une opération de maintenance ou à une configuration incorrecte.
    Voici quelques suggestions :
    Actualisez cette page Web ultérieurement.
    Erreur HTTP 500 (Internal Server Error) : Une situation inattendue s'est produite tandis que le serveur tentait de traiter la demande.
    alors je trouve pas ou es le probleme
    j'éspére qu'il ya quelqu'un qui peux m'aidé
    merci d'avance
    a bientot

  2. #2
    Membre éprouvé Avatar de redoran
    Homme Profil pro
    Développeur-Amateur
    Inscrit en
    Juin 2010
    Messages
    1 346
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 52
    Localisation : Algérie

    Informations professionnelles :
    Activité : Développeur-Amateur
    Secteur : Santé

    Informations forums :
    Inscription : Juin 2010
    Messages : 1 346
    Points : 1 031
    Points
    1 031
    Par défaut
    Salut ; apriori je dirai :
    tu diot revoir ta modélisation du projet , exemple les wilayas qui sont d'ordre 48 , prochainement y aura de nouvelles wilayats et là ta besoin d'une table wilaya et ainsi de suite , aussi pour les modules de l'université , pour les années....
    essaye de passé en PDO ou MYSQLI.
    essaye de séparé les fichiers , .php , .css , .js....
    évite les ******* dans les requêtes , SELECT nomchamps FROM Ta_table.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    ...get_magic_quotes_gpc..
    ça dépend de vote version de PHP , normalement la fonctionnalité des guillemets magiques a été supprimée de PHP a partir de la version 5.4.0 http://php.net/manual/fr/function.ge...quotes-gpc.php
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    ..function GetSQLValueString.....
    l'utilisation de cette fonction par dreamwaver peut être simplement remplacé par
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    mysql_real_escape_string
    ......
    je reviens a l'erreur :
    le code du fichier : frameinscens.php !! svp

Discussions similaires

  1. Erreur lors de l'affichage d'un formulaire
    Par Klemsy78 dans le forum Composants VCL
    Réponses: 3
    Dernier message: 02/11/2008, 21h57
  2. Réponses: 3
    Dernier message: 25/02/2008, 09h09
  3. [MySQL] Erreur lors de l'affichage de données
    Par s0ak68 dans le forum PHP & Base de données
    Réponses: 3
    Dernier message: 07/11/2006, 08h37
  4. erreur lors de l'affichage
    Par WELCOMSMAIL dans le forum Langage
    Réponses: 2
    Dernier message: 22/08/2006, 09h35
  5. [Artichow] Erreur lors de l'affichage du graph
    Par ouldfella dans le forum Bibliothèques et frameworks
    Réponses: 1
    Dernier message: 30/04/2006, 17h31

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo