Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [html] polskie znaki w lightbox
lucks
post
Post #1





Grupa: Zarejestrowani
Postów: 143
Pomógł: 0
Dołączył: 5.04.2005

Ostrzeżenie: (0%)
-----


załadowałem sobie formularz do lightbox'a i wszyszystko fajnie wygląda, tyle ze wszystkie polskie znaki zastąpione są przez "?"
kodowanie mam ustawione na stronie na windows, zmiany kodowania nie pomagają
jak wyswietlić polskie znaki?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
lucks
post
Post #2





Grupa: Zarejestrowani
Postów: 143
Pomógł: 0
Dołączył: 5.04.2005

Ostrzeżenie: (0%)
-----


user_privilages.php
  1. <?php
  2. $link = mysql_connect("localhost",$myuser,$mypass) or die("Błąd połązenia z bazą");
  3.  $row = @mysql_fetch_array(@mysql_query("SELECT nazwa from groups where gid='$gid'"));
  4.  $nazwa = $row['nazwa'];
  5.  $res = @mysql_query("SELECT uid,CONCAT(nazwisko,' ',imie,' (',login,')') as user,services FROM users WHERE isadmin='0' order by login",$link);
  6.  
  7. while( $row = @mysql_fetch_array($res,MYSQL_ASSOC) ) {
  8. $option .= "<option value="".$row['uid']."">".$row['user']."n";
  9. }
  10. ?>



i formularz:
  1. <form action="admin.php" method="GET" name="privilages">
  2. <p>&nbsp;</p>
  3. <table border="0" width="90%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
  4. <tr><td nowrap width="50%">Redaktorzy:&nbsp;&nbsp;</td><td><select name="uid" size="1">
  5. {OPTION}</select></td></tr>
  6. <table border="0" width="90%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
  7. <tr><td nowrap width="50%" colspan="2" align="center"><hr color="#000000" size="1"></td></tr>
  8. <table border="0" width="90%" cellspacing="0" cellpadding="0" style="border-collapse: collapse" bordercolor="#111111">
  9. <tr><td colspan=2>&nbsp;</td></tr>
  10. <tr><td align="center"><input type="submit" value=" OK ">&nbsp;<a href="#" class="lbAction" rel="deactivate"><input id='nazwa' type="button" value="Anuluj"></td>
  11. </tr>
  12. <input type="hidden" name="action" value="privilages">
  13. <input type="hidden" name="gid" value={GID}>
  14. <input type="hidden" name="opt" value={OPT}>
  15. </form>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 5.11.2025 - 01:54