Code:
<?
	function RandomPass($thelen) {
		srand(date("s"));
		$garbage="abcdefghijklmnopqrstuvwxyz";
		$thepass="daniel"
		$pass="";
	while ($pass<>$thepass) {
		for($x=0;$x=7;$X++) {
			$pass .= substr($garbage,(rand()%(strlen($garbage))),1);
		}
			echo $pass
	}
    }
		 
		
?>
i am getting that T_VARIABLE error on line 6 and when i take it out i get a T_WHILE error on line 6.. what does this mean and how do i fix it?

oOBlackOrbOo