| 
					
							
        
    
        
						
			 | 
			
			
					    
					
        
         
          
         
	
            | 0 variabler fra html! Fra : No1 | 
  Dato :  09-04-03 22:36 |  
  |   
            Jeg er kørt totalt fast m/PHP, for jeg kan ikke modtage variabler fra min
 html-formular!
 Jeg kommer snilt over til mit php-script og kan sagtens printe variabler -
 bare jeg deklerere dem lokalt.
 Hvad går der galt - jeg modtager intet fra formularen. ?
 
 //formular:
 <html>
 <head>
 <title>Untitled Document</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 </head>
 <body>
 <form name="form2" method="post" action="bad_words.php"><label>Ord
 <input name="YourName" type="text"></label>
   <p>
     <input type="submit" name="Submit" value="Submit">
   </p>
 </form>
 </body>
 </html>
 
 //PHP:
 <html>
 <head>
 <title>bad_words</title>
 </head>
 <body>
 <?
 print ("$YourName");
 ?>
 </body>
 </html>
 
 
  
            
             |   |   
            
        
 
            
         
           Kim Schulz (09-04-2003) 
         
	
            | Kommentar Fra : Kim Schulz | 
  Dato :  09-04-03 22:52 |  
  |   
            
> print $_POST["YourName"];
 -- 
 Navn  : Kim Schulz      | All power corrupts, but we need electricity. 
 Email : kim @ schulz.dk | 
 WWW   :  www.schulz.dk   | 
            
              |   |   
            
        
 
    
 
					
					 
			 | 
			
				
        
			 |