Pogledajte određenu poruku
Staro 15. 09. 2006.   #2
Ilija Studen
Direktor Kombinata
Invented the damn thing
 
Avatar Ilija Studen
 
Datum učlanjenja: 07.06.2005
Poruke: 2.669
Hvala: 44
119 "Hvala" u 64 poruka
Ilija Studen će postati "faca" uskoroIlija Studen će postati "faca" uskoro
Default

Mali eksperiment:

PHP kôd:
<form action="test.php" method="get">
  <input type="text" name="name_underscore" value="" /><br />
  <input type="text" name="name without underscore" value="" /><br />
  <button type="submit">Ajd</button>
</form>
<?php

  
if(isset($_GET['name_underscore'])) {
    print 
'name_underscore: set "' $_GET['name_underscore'] . '"';
  } else {
    print 
'name_underscore: not set';
  } 
// if
  
  
print '<br />';
  
  if(isset(
$_GET['name without underscore'])) {
    print 
'name without underscore: set "' $_GET['name without underscore'] . '"';
  } else {
    print 
'name without underscore: not set';
  } 
// if

?>
Have fun

Eh, da... Nije isto misliti i cveće brati.

Poslednja izmena od Ilija Studen : 15. 09. 2006. u 19:56.
Ilija Studen je offline   Odgovorite uz citat