Pomoc - Szukaj - Użytkownicy - Kalendarz
Pełna wersja: [PHP] formularz nie wysyła zer
Forum PHP.pl > Forum > Przedszkole
fakenmr
Witam mam formularz kontaktowy, który wysyła dane do bazy danych ale po wejściu do bazy danych ucina " 00 " zera

KOD PHP DO FORMULARZA:
  1. <?php
  2. if (!function_exists("GetSQLValueString")) {
  3. function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  4. {
  5. if (PHP_VERSION < 6) {
  6. $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  7. }
  8.  
  9. $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  10.  
  11. switch ($theType) {
  12. case "text":
  13. $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
  14. break;
  15. case "long":
  16. case "int":
  17. $theValue = ($theValue != "") ? intval($theValue) : "NULL";
  18. break;
  19. case "double":
  20. $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
  21. break;
  22. case "date":
  23. $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
  24. break;
  25. case "defined":
  26. $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
  27. break;
  28. }
  29. return $theValue;
  30. }
  31. }
  32.  
  33. $editFormAction = $_SERVER['PHP_SELF'];
  34. if (isset($_SERVER['QUERY_STRING'])) {
  35. $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
  36. }
  37.  
  38. if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form")) {
  39.  
  40. if ($_POST['nr_nadania'] == '' || $_POST['imie_rekl'] == '' || $_POST['nazwisko_rekl'] == '' || $_POST['ulica_rekl'] == '' || $_POST['kod_poczt_rekl'] == '' || $_POST['miasto_rekl'] == '' || $_POST['tel_rekl'] == '' || $_POST['mail'] == '' || $_POST['tresc'] == '') {
  41.  
  42.  
  43. if($_POST['nr_nadania'] == '') {
  44.  
  45. $nr_nadania= 'Proszę wprowadzić nr nadania';
  46.  
  47. }
  48. if($_POST['imie_rekl'] == '' ) {
  49.  
  50. $imie_rekl = 'Proszę wprowadzić Imię';
  51. }
  52.  
  53. if($_POST['nazwisko_rekl'] == '') {
  54.  
  55. $nazwisko_rekl = 'Proszę wprowadzić Nazwisko';
  56. }
  57.  
  58. if($_POST['ulica_rekl'] == '') {
  59.  
  60. $ulica_rekl = 'Proszę wprowadzić Ulicę';
  61. }
  62.  
  63. if($_POST['kod_poczt_rekl'] == '') {
  64.  
  65. $kod_poczt_rekl = 'Proszę wprowadzić Kod Pocztowy';
  66. }
  67.  
  68. if($_POST['miasto_rekl'] == '') {
  69.  
  70. $miasto_rekl = 'Proszę wprowadzić Miasto';
  71. }
  72.  
  73. if($_POST['tel_rekl'] == '') {
  74.  
  75. $tel_rekl = 'Proszę wprowadzić Numer Telefonu';
  76. }
  77.  
  78. if($_POST['mail'] == '') {
  79.  
  80. $mail = 'Proszę wprowadzić Adres E-mail';
  81. }
  82.  
  83. if($_POST['tresc'] == '') {
  84.  
  85. $tresc = 'Proszę wprowadzić Treść Wiadomość';
  86. }
  87.  
  88.  
  89. }else {
  90.  
  91. $insertSQL = sprintf("INSERT INTO reklamacja (nr_nadania, imie_rekl, nazwisko_rekl, ulica_rekl, kod_poczt_rekl, miasto_rekl, tel_rekl, mail, tresc, tem_wiad) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
  92. GetSQLValueString($_POST['nr_nadania'], "varchar" ),
  93. GetSQLValueString($_POST['imie_rekl'], "text"),
  94. GetSQLValueString($_POST['nazwisko_rekl'], "text"),
  95. GetSQLValueString($_POST['ulica_rekl'], "text"),
  96. GetSQLValueString($_POST['kod_poczt_rekl'], "text"),
  97. GetSQLValueString($_POST['miasto_rekl'], "text"),
  98. GetSQLValueString($_POST['tel_rekl'], "int"),
  99. GetSQLValueString($_POST['mail'], "text"),
  100. GetSQLValueString($_POST['tresc'], "text"),
  101. GetSQLValueString($_POST['tem_wiad'], "int"));
  102.  
  103. mysql_select_db($database_config, $config);
  104. $Result1 = mysql_query($insertSQL, $config) or die(mysql_error());
  105.  
  106. $insertGoTo = "potw_wysl_kont.php";
  107. if (isset($_SERVER['QUERY_STRING'])) {
  108. $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
  109. $insertGoTo .= $_SERVER['QUERY_STRING'];
  110.  
  111. }
  112. header(sprintf("Location: %s", $insertGoTo));
  113. }
  114. }
  115.  
  116. mysql_select_db($database_config, $config);
  117. $query_kontakt = "SELECT * FROM reklamacja ORDER BY `data` ASC";
  118. $kontakt = mysql_query($query_kontakt, $config) or die(mysql_error());
  119. $row_kontakt = mysql_fetch_assoc($kontakt);
  120. $totalRows_kontakt = mysql_num_rows($kontakt);
  121. ?>





FORMULARZ:


  1. <form action="<?php echo $editFormAction; ?>" name="form" method="POST" style="margin-top:10px;" >
  2. <table width="493" id="tbl_insert">
  3. <tr></tr>
  4. <tr>
  5. <th width="149" scope="col">&nbsp;</th>
  6. <th width="250" scope="col">Proszę wypenić wszystkie pola</th>
  7. </tr>
  8. <?php if(isset($nr_nadania)){?>
  9. <tr>
  10. <th>&nbsp;</th>
  11. <td class="wrn"><?php echo $nr_nadania; ?></td>
  12. </tr>
  13. <?php } ?>
  14. <tr>
  15. <th scope="row">Numer nadania</th>
  16. <td><input name="nr_nadania" type="text" class="frmfld" id="nr_nadania" value="<?php getSticky('nr_nadania'); ?>"></td>
  17.  
  18. </tr>
  19. <?php if(isset($imie_rekl)){?>
  20. <tr>
  21. <th>&nbsp;</th>
  22. <td class="wrn"><?php echo $imie_rekl; ?></td>
  23. </tr>
  24. <?php } ?>
  25. <tr>
  26. <th scope="row">Imię </th>
  27. <td><input name="imie_rekl" type="text" class="frmfld" id="imie_rekl" value="<?php getSticky('imie_rekl'); ?>"></td>
  28.  
  29. </tr>
  30. <?php if(isset($nazwisko_rekl)){?>
  31. <tr>
  32. <th>&nbsp;</th>
  33. <td class="wrn"><?php echo $nazwisko_rekl; ?></td>
  34. </tr>
  35. <?php } ?>
  36. <tr>
  37. <th scope="row">Nazwisko</th>
  38. <td><input name="nazwisko_rekl" type="text" class="frmfld" id="nazwisko_rekl" value="<?php getSticky('nazwisko_rekl'); ?>"></td>
  39.  
  40. </tr>
  41. <?php if(isset($ulica_rekl)){?>
  42. <tr>
  43. <th>&nbsp;</th>
  44. <td class="wrn"><?php echo $ulica_rekl; ?></td>
  45. </tr>
  46. <?php } ?>
  47. <tr>
  48. <th scope="row">Ulica</th>
  49. <td><input name="ulica_rekl" type="text" class="frmfld" id="ulica_rekl" value="<?php getSticky('ulica_rekl'); ?>"></td>
  50. </tr>
  51. <?php if(isset($kod_poczt_rekl)){?>
  52. <tr>
  53. <th>&nbsp;</th>
  54. <td class="wrn"><?php echo $kod_poczt_rekl; ?></td>
  55. </tr>
  56. <?php } ?>
  57. <tr>
  58. <th scope="row">Kod Pocztowy</th>
  59. <td><input name="kod_poczt_rekl" type="text" class="frmfld" id="kod_poczt_rekl" value="<?php getSticky('kod_poczt_rekl'); ?>"></td>
  60.  
  61. </tr>
  62. <?php if(isset($miasto_rekl)){?>
  63. <tr>
  64. <th>&nbsp;</th>
  65. <td class="wrn"><?php echo $miasto_rekl; ?></td>
  66. </tr>
  67. <?php } ?>
  68. <tr>
  69. <th scope="row">Miasto</th>
  70. <td><input name="miasto_rekl" type="text" class="frmfld" id="miasto_rekl" value="<?php getSticky('miasto_rekl'); ?>"></td>
  71.  
  72. </tr>
  73. <?php if(isset($mail)){?>
  74. <tr>
  75. <th>&nbsp;</th>
  76. <td class="wrn"><?php echo $mail; ?></td>
  77. </tr>
  78. <?php } ?>
  79. <tr>
  80. <th scope="row">E-mail</th>
  81. <td><input name="mail" type="text" class="frmfld" id="mail" value="<?php getSticky('mail'); ?>"></td>
  82.  
  83. </tr>
  84. <?php if(isset($tel_rekl)){?>
  85. <tr>
  86. <th>&nbsp;</th>
  87. <td class="wrn"><?php echo $tel_rekl; ?></td>
  88. </tr>
  89. <?php } ?>
  90. <tr>
  91. <th scope="row">Telefon</th>
  92. <td><input name="tel_rekl" type="text" class="frmfld" id="tel_rekl" value="<?php getSticky('tel_rekl'); ?>"></td>
  93.  
  94. </tr>
  95. <tr>
  96.  
  97. </tr>
  98. <th scope="row">Temat</th>
  99. <td><select name="tem_wiad" class="frmfld"><?
  100. foreach ($_tem_wiad as $k=>$w)
  101. {
  102. echo'<option value="'.$k.'">'.$w.'</option>';
  103. }?>
  104. </select>
  105. <br></td>
  106.  
  107. </tr>
  108. <?php if(isset($tresc)){?>
  109. <tr>
  110. <th>&nbsp;</th>
  111. <td class="wrn"><?php echo $tresc; ?></td>
  112. </tr>
  113. <?php } ?>
  114. <tr>
  115. <th scope="row">Treść</th>
  116. <td><textarea name="tresc" class="frmfld" id="tresc" value="<?php getSticky('tresc'); ?>"></textarea></td>
  117.  
  118. </tr>
  119. <tr>
  120. <th scope="row">&nbsp;</th>
  121.  
  122. <td><input name="btn" type="image" src="images/menu/wyslij.png" id="btn" style="width: 100px;float:right;" value="Wyślij" /></td>
  123. </tr>
  124. </table>
  125. <input type="hidden" name="MM_insert" value="form">
  126. </form>



BAZA DANYCH KTÓRA TWORZYŁEM
  1. CREATE TABLE `reklamacja` (
  2. `wiad_id` int(11) NOT NULL AUTO_INCREMENT,
  3. `nr_nadania` varchar(20) collate utf8_polish_ci NOT NULL,
  4. `imie_rekl` varchar(15) character SET utf8 NOT NULL,
  5. `nazwisko_rekl` varchar(30) character SET utf8 NOT NULL,
  6. `ulica_rekl` varchar(50) character SET utf8 NOT NULL,
  7. `kod_poczt_rekl` varchar(11) character SET utf8 NOT NULL,
  8. `miasto_rekl` varchar(11) character SET utf8 NOT NULL,
  9. `tel_rekl` int(13) NOT NULL,
  10. `mail` varchar(40) collate utf8_polish_ci NOT NULL,
  11. `data` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  12. `tresc` text collate utf8_polish_ci NOT NULL,
  13. `tem_wiad` int(1) NOT NULL,
  14. PRIMARY KEY (`wiad_id`),
  15. UNIQUE KEY `nr_nadania` (`nr_nadania`)
  16. ) ENGINE=MyISAM AUTO_INCREMENT=72 DEFAULT CHARSET=utf8 COLLATE=utf8_polish_ci AUTO_INCREMENT=72 ;
markonix
Fajnie, że dałeś tyle kodu ale może byś oświecił nas i napisał gdzie ucina zera?
"Po dodaniu do bazy" nic nie mówi - czy chodzi o zera wiodące? Czy przed dodaniem zmienna ma te zera? W jakim konkretnie polu?
fakenmr
w polu nr_nadania wpisuje np. " 00159323456679" a w bazie danych ucina te zera i widoczne jest samo "159323456679"
markonix
To są zera wiodące. Takie coś dzieje się w przypadku pól typu INT.
Nie daje się INT na coś co jest tylko numeryczne czyli np. numery telefonów, jakieś kody bo ucina zera.
Nauczyłem się tego przy kodach pre-paid.

Jednakże z Twojego zrzutu wynika, że jest to pole varchar więc albo się pomyliłeś w przykładzie, albo w zrzucie.
fakenmr
Cytat(markonix @ 7.05.2012, 09:48:23 ) *
To są zera wiodące. Takie coś dzieje się w przypadku pól typu INT.
Nie daje się INT na coś co jest tylko numeryczne czyli np. numery telefonów, jakieś kody bo ucina zera.
Nauczyłem się tego przy kodach pre-paid.

Jednakże z Twojego zrzutu wynika, że jest to pole varchar więc albo się pomyliłeś w przykładzie, albo w zrzucie.



no wlaśnie ze nie pomyliłem się nigdzie ucina zera i mnie też właśnie to dziwowało bardzo :/ i ja już nie mam pojęcia jak to ogarnąć :9
redeemer
W funkcji GetSQLValueString brakuje obsługi typu varchar. Przed case "text": wstaw case "varchar":, albo jako argument przy jej wywoływaniu podaj text zamiast varchar.
fakenmr
Cytat(redeemer @ 7.05.2012, 14:55:19 ) *
W funkcji GetSQLValueString brakuje obsługi typu varchar. Przed case "text": wstaw case "varchar":, albo jako argument przy jej wywoływaniu podaj text zamiast varchar.


jak zmienię w tamtym miejscu na varchar to wyskakuje mi błąd Unknown column 'alojzy' in 'field list' jak wpisuje imięsad.gif
redeemer
Nie zmieniaj tylko dopisz linijke, żeby wyglądało to tak:
  1. case "text":
  2. case "varchar":
fakenmr
działa po case musiałem dodać
  1. $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
  2. break;

Dziękuje i jeszcze jedno małe pytanko jak już wysłałem ten kontakt loguje się jako administrator mam w skrzynce odbiorczej mam 2 różne wiadomości klikam przycisk pokaż i otwiera mi się wiadomość prawidłowa, natomiast jak klikam 2 wiadomość starszą wyświetlają mi się dane tamtej pierwszej klikniętej wiadomości wytłumaczy mi ktoś to questionmark.gif?

KOD OD SKRZYNKI ODBIORCZEJ
  1. <?php require_once('../Connections/config.php'); ?>
  2. <?php
  3. if (!function_exists("GetSQLValueString")) {
  4. function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  5. {
  6. if (PHP_VERSION < 6) {
  7. $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  8. }
  9.  
  10. $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  11.  
  12. switch ($theType) {
  13. case "text":
  14. $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
  15. break;
  16. case "long":
  17. case "int":
  18. $theValue = ($theValue != "") ? intval($theValue) : "NULL";
  19. break;
  20. case "double":
  21. $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
  22. break;
  23. case "date":
  24. $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
  25. break;
  26. case "defined":
  27. $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
  28. break;
  29. }
  30. return $theValue;
  31. }
  32. }
  33.  
  34. mysql_select_db($database_config, $config);
  35. $query_rsreklamacja = "SELECT reklamacja.wiad_id, reklamacja.nr_nadania, reklamacja.`data`, reklamacja.tem_wiad FROM reklamacja WHERE reklamacja.`data` ORDER BY reklamacja.`data` DESC";
  36. $rsreklamacja = mysql_query($query_rsreklamacja, $config) or die(mysql_error());
  37. $row_rsreklamacja = mysql_fetch_assoc($rsreklamacja);
  38. $totalRows_rsreklamacja = mysql_num_rows($rsreklamacja);
  39. ?>



Tabela wyświetlająca cząstki wiadomości

  1. <p><table width="0" border="0" id="tbl_repeat">
  2. <tr>
  3. <th scope="col">Nr Nadania</th>
  4. <th scope="col">Temat Wiadomości</th>
  5. <th scope="col" style="width:15%">Data Wiadomości</th>
  6. <th scope="col" style="width:10%">Pokaż </th>
  7. </tr>
  8. <?php do { ?>
  9. <tr>
  10. <td><!--Geshi:328796:php--><pre class="php-brief" style="font-family:monospace;"><div class="head">[PHP] <a href='./Pobierz-Plik-328796.html' target='_blank'>pobierz</a>, <a href='Plaintext-328796.html' target='_blank'>plaintext</a> </div><ol><li class="li1"><div class="de1"><span class="kw2"><?php</span> <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="re0">$row_rsreklamacja</span><span class="br0">[</span><span class="st0">'nr_nadania'</span><span class="br0">]</span><span class="sy0">;</span> <span class="sy1">?></span></div></li></ol><div class="foot">[PHP] <a href='./Pobierz-Plik-328796.html' target='_blank'>pobierz</a>, <a href='Plaintext-328796.html' target='_blank'>plaintext</a> </div></pre><!--/Geshi:328796:php--></td>
  11. <td><!--Geshi:328797:php--><pre class="php-brief" style="font-family:monospace;"><div class="head">[PHP] <a href='./Pobierz-Plik-328797.html' target='_blank'>pobierz</a>, <a href='Plaintext-328797.html' target='_blank'>plaintext</a> </div><ol><li class="li1"><div class="de1"><span class="kw2"><?php</span> <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="re0">$_tem_wiad</span><span class="br0">[</span><span class="re0">$row_rsreklamacja</span><span class="br0">[</span><span class="st0">'tem_wiad'</span><span class="br0">]</span><span class="br0">]</span><span class="sy0">;</span> <span class="sy1">?></span></div></li></ol><div class="foot">[PHP] <a href='./Pobierz-Plik-328797.html' target='_blank'>pobierz</a>, <a href='Plaintext-328797.html' target='_blank'>plaintext</a> </div></pre><!--/Geshi:328797:php--></td>
  12. <td><!--Geshi:328798:php--><pre class="php-brief" style="font-family:monospace;"><div class="head">[PHP] <a href='./Pobierz-Plik-328798.html' target='_blank'>pobierz</a>, <a href='Plaintext-328798.html' target='_blank'>plaintext</a> </div><ol><li class="li1"><div class="de1"><span class="kw2"><?php</span> <a href="http://www.php.net/echo"><span class="kw3">echo</span></a> <span class="re0">$row_rsreklamacja</span><span class="br0">[</span><span class="st0">'data'</span><span class="br0">]</span><span class="sy0">;</span> <span class="sy1">?></span></div></li></ol><div class="foot">[PHP] <a href='./Pobierz-Plik-328798.html' target='_blank'>pobierz</a>, <a href='Plaintext-328798.html' target='_blank'>plaintext</a> </div></pre><!--/Geshi:328798:php--></td>
  13. <td><a href="pokaz.php?id=<?php echo $row_rsreklamacja['wiad_id']; ?>"><input name="" type="button" value="Pokaż"></a></td>
  14. </tr>
  15. <?php } while ($row_rsreklamacja = mysql_fetch_assoc($rsreklamacja)); ?>
  16. </table>



i plik pokaż.php

  1. <?php require_once('../Connections/config.php'); ?>
  2. <?php
  3. if (!function_exists("GetSQLValueString")) {
  4. function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
  5. {
  6. if (PHP_VERSION < 6) {
  7. $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  8. }
  9.  
  10. $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
  11.  
  12. switch ($theType) {
  13. case "text":
  14. $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
  15. break;
  16. case "long":
  17. case "int":
  18. $theValue = ($theValue != "") ? intval($theValue) : "NULL";
  19. break;
  20. case "double":
  21. $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
  22. break;
  23. case "date":
  24. $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
  25. break;
  26. case "defined":
  27. $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
  28. break;
  29. }
  30. return $theValue;
  31. }
  32. }
  33.  
  34. mysql_select_db($database_config, $config);
  35. $query_Recordset1 = "SELECT reklamacja.wiad_id, reklamacja.nr_nadania, reklamacja.imie_rekl, reklamacja.nazwisko_rekl, reklamacja.ulica_rekl, reklamacja.kod_poczt_rekl, reklamacja.miasto_rekl, reklamacja.tel_rekl, reklamacja.mail, reklamacja.`data`, reklamacja.tresc, reklamacja.tem_wiad FROM reklamacja";
  36. $Recordset1 = mysql_query($query_Recordset1, $config) or die(mysql_error());
  37. $row_Recordset1 = mysql_fetch_assoc($Recordset1);
  38. $totalRows_Recordset1 = mysql_num_rows($Recordset1);mysql_select_db($database_config, $config);
  39. $query_Recordset1 = "SELECT reklamacja.wiad_id, reklamacja.nr_nadania, reklamacja.imie_rekl, reklamacja.nazwisko_rekl, reklamacja.ulica_rekl, reklamacja.kod_poczt_rekl, reklamacja.miasto_rekl, reklamacja.tel_rekl, reklamacja.mail, reklamacja.`data`, reklamacja.tresc, reklamacja.tem_wiad FROM reklamacja ORDER BY reklamacja.`data` DESC";
  40. $Recordset1 = mysql_query($query_Recordset1, $config) or die(mysql_error());
  41. $row_Recordset1 = mysql_fetch_assoc($Recordset1);
  42. $totalRows_Recordset1 = mysql_num_rows($Recordset1);
  43. ?>


Tabela pliku pokaż.php

  1. <table width="77%" border="0" >
  2. <tr>
  3. <th width="27%" scope="row">Nr Nadania:</th>
  4. <td width="73%"><?php echo $row_Recordset1['nr_nadania']; ?></td>
  5. </tr>
  6. <tr>
  7. <th scope="row">Imie :</th>
  8. <td><?php echo $row_Recordset1['imie_rekl']; ?></td>
  9. </tr>
  10. <tr>
  11. <th scope="row">Nazwisko:</th>
  12. <td><?php echo $row_Recordset1['nazwisko_rekl']; ?></td>
  13. </tr>
  14. <tr>
  15. <th scope="row">Ulica:</th>
  16. <td><?php echo $row_Recordset1['ulica_rekl']; ?></td>
  17. </tr>
  18. <tr>
  19. <th scope="row">Kod Pocztowy:</th>
  20. <td><?php echo $row_Recordset1['kod_poczt_rekl']; ?></td>
  21. </tr>
  22. <tr>
  23. <th scope="row">Miasto:</th>
  24. <td><?php echo $row_Recordset1['miasto_rekl']; ?></td>
  25. </tr>
  26. <tr>
  27. <th scope="row">Telefon:</th>
  28. <td><?php echo $row_Recordset1['tel_rekl']; ?></td>
  29. </tr>
  30. <tr>
  31. <th scope="row">E-mail:</th>
  32. <td><a href="mailto:<?php echo $row_Recordset1['mail']; ?>"><?php echo $row_Recordset1['mail']; ?></td>
  33. </tr>
  34. <tr>
  35. <th scope="row">Data Wiadomości:</th>
  36. <td><?php echo $row_Recordset1['data']; ?></td>
  37. </tr>
  38. <tr>
  39. <th scope="row">Temat Wiadomości:</th>
  40. <td><?php echo $_tem_wiad[$row_Recordset1['tem_wiad']]; ?></td>
  41. </tr>
  42. <tr>
  43. <th scope="row">Wiadomość:</th>
  44. <td><?php echo $row_Recordset1['tresc']; ?></td>
  45. </tr>
  46. <tr>
  47. <th scope="row">&nbsp;</th>
  48. <td style="width:-20%; text-align: center;"><a href="usun.php?id=<?php echo $row_Recordset1['wiad_id']; ?>">Usuń Wiadomość</a></td>
  49. </tr>
To jest wersja lo-fi głównej zawartości. Aby zobaczyć pełną wersję z większą zawartością, obrazkami i formatowaniem proszę kliknij tutaj.
Invision Power Board © 2001-2025 Invision Power Services, Inc.