Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP] instrukcja warunkowa, najprostrza konstrukcja
-gox-
post
Post #1





Goście







Jak to byla z ta konstrukcja:

( get_magic_quotes_gpc()) ? echo 'lol' : echo 'lol2';

cos tutaj mam zle...
Go to the top of the page
+Quote Post
pyro
post
Post #2





Grupa: Zarejestrowani
Postów: 2 148
Pomógł: 230
Dołączył: 26.03.2008

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


  1. <?php
  2. $a = (get_magic_quotes_gpc()) ? 'lol' : 'lol2';
  3. echo $a;
  4. ?>
Go to the top of the page
+Quote Post
-gox-
post
Post #3





Goście







senk you
Go to the top of the page
+Quote Post

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: 20.12.2025 - 22:04