Originally posted by thanatos
					
						
						
							
							
							
							
								
								
								
								
									View Post
								
							
						
					
				
				
			
		Correct WML
				
					Collapse
				
			
		
	X
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 yep so i add this
 --
 $who = mysql_real_escape_string($_POST["who"] );
 $pmtou1 = mysql_real_escape_string($_POST["pmtou1"] );
 
 i think "request" is in xhtmlLast edited by WereWolveZ; 18.01.10, 15:16.
 Comment
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 no its not xhtml, you can do this with request:Originally posted by WereWolveZ View Postyep so i add this
 --
 $who = mysql_real_escape_string($_POST["who"] );
 $pmtou1 = mysql_real_escape_string($_POST["pmtou1"] );
 
 i think "request" is in xhtml
 
 PHP Code:$who = mysql_real_escape_string($_REQUEST["who"] );
 $pmtou1 = mysql_real_escape_string($_REQUEST["pmtou1"] );
 
 Comment
- 
	
	
	
		
	
	
		
		
		
		
		
		
		
	
	
 Your form in full working order use $_POST["pmtou1"] and $_POST["who"] to retrieve the fields it will work .  The $_REQUEST also has access to cookies. .  The $_REQUEST also has access to cookies.
 
 PHP Code:else if($action=="toall")
 {
 addonline(getuid_sid($sid),"Owner Tools","");
 echo "<card id=\"main\" title=\"Owner Tools\">";
 echo "<p align=\"center\">";
 echo "<b>Owner Tools</b>";
 echo "</p><p>";
 echo "Message: <input name=\"pmtou1\" maxlength=\"250\"/><br/>";
 echo "Recipient:";
 echo "<select name=\"who\" multiple=\"false\">";
 echo "<option value=\"online\">Online Members Only</option>";
 echo "</select><br/>";
 echo "</p><p align=\"center\">";
 echo "<anchor>Update";
 echo "<go href=\"ownrproc.php?action=prvtall2&sid=$sid\" method=\"post\">";
 echo "<postfield name=\"pmtou1\" value=\"$(pmtou1)\"/>";
 echo "<postfield name=\"who\" value=\"$(who)\"/>";
 echo "</go></anchor><br/>";
 echo "<a href=\"index.php?action=main&sid=$sid\">Main Menu</a>";
 echo "</p>";
 echo "</card>";
 }
 Last edited by wap2k; 19.01.10, 18:42.
 Comment

Comment